diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff36655cc2b..0e8f26ea96c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,42 +38,60 @@ jobs: test-app: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ubuntu_version: + - focal + - noble steps: - uses: actions/checkout@v4 - name: Build image run: | - DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true + UBUNTU_VERSION=${{ matrix.ubuntu_version }} DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true - name: Run application tests run: | - make test-app + UBUNTU_VERSION=${{ matrix.ubuntu_version }} make test-app test-functional: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ubuntu_version: + - focal + - noble steps: - uses: actions/checkout@v4 - name: Build image run: | - DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true + UBUNTU_VERSION=${{ matrix.ubuntu_version }} DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true - name: Run functional tests run: | - make test-functional + UBUNTU_VERSION=${{ matrix.ubuntu_version }} make test-functional test-pageslayout: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ubuntu_version: + - focal + - noble steps: - uses: actions/checkout@v4 - name: Build image run: | - DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true + UBUNTU_VERSION=${{ matrix.ubuntu_version }} DOCKER_BUILD_VERBOSE=true ./securedrop/bin/dev-shell true - name: Run page layout tests run: | - make test-pageslayout + UBUNTU_VERSION=${{ matrix.ubuntu_version }} make test-pageslayout - name: Validate HTML (informational) run: | - make validate-test-html || true + UBUNTU_VERSION=${{ matrix.ubuntu_version }} make validate-test-html || true - name: Validate accessibility (informational) run: | - make accessibility-summary || true + UBUNTU_VERSION=${{ matrix.ubuntu_version }} make accessibility-summary || true rust: runs-on: ubuntu-latest