chore(deps): update gitlab support dependencies #604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
# This workflow is triggered on pull requests to the main branch. | |
on: | |
pull_request: | |
branches: [main] | |
types: [milestoned, opened, synchronize] | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- "adr/**" | |
- "docs/**" | |
- ".gitignore" | |
- "renovate.json" | |
- ".release-please-config.json" | |
- "release-please-config.json" | |
- "oscal-component.yaml" | |
- "CODEOWNERS" | |
- "LICENSE" | |
- "CONTRIBUTING.md" | |
- "SECURITY.md" | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
run-test: | |
name: ${{ matrix.type }} ${{ matrix.flavor }} | |
runs-on: uds-swf-ubuntu-big-boy-8-core | |
timeout-minutes: 25 | |
strategy: | |
matrix: | |
flavor: [upstream, registry1] | |
type: [install, upgrade] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Environment setup | |
uses: defenseunicorns/uds-common/.github/actions/setup@172a905901cb9bd76d096d2850bf31af5c5a4fa1 # v0.8.0 | |
with: | |
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} | |
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} | |
ghToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Playwright setup | |
uses: defenseunicorns/uds-common/.github/actions/playwright@172a905901cb9bd76d096d2850bf31af5c5a4fa1 # v0.8.0 | |
- name: Test | |
uses: defenseunicorns/uds-common/.github/actions/test@172a905901cb9bd76d096d2850bf31af5c5a4fa1 # v0.8.0 | |
with: | |
flavor: ${{ matrix.flavor }} | |
type: ${{ matrix.type }} | |
- name: Debug Output | |
if: ${{ always() }} | |
uses: defenseunicorns/uds-common/.github/actions/debug-output@172a905901cb9bd76d096d2850bf31af5c5a4fa1 # v0.8.0 | |
- name: Save logs | |
if: always() | |
uses: defenseunicorns/uds-common/.github/actions/save-logs@172a905901cb9bd76d096d2850bf31af5c5a4fa1 # v0.8.0 | |
with: | |
suffix: ${{ matrix.type }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }} | |
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 | |
if: always() | |
with: | |
name: playwright-report-${{ matrix.type }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }} | |
path: tests/.playwright/reports/ | |
retention-days: 30 |