diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 21fdf1daf5..1b88271b89 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -125,22 +125,26 @@ jobs: path: build/leap_*.deb tests: - name: Tests + name: Tests ${{matrix.cfg.name}} needs: [platform-cache, build-base] strategy: fail-fast: false matrix: - platform: [ubuntu20, ubuntu22, reproducible] + include: + - cfg: {name: 'ubuntu20', base: 'ubuntu20', builddir: 'ubuntu20'} + - cfg: {name: 'ubuntu22', base: 'ubuntu22', builddir: 'ubuntu22'} + - cfg: {name: 'ubuntu20repro', base: 'ubuntu20', builddir: 'reproducible'} + - cfg: {name: 'ubuntu22repro', base: 'ubuntu22', builddir: 'reproducible'} runs-on: ["self-hosted", "enf-x86-hightier"] container: - image: ${{fromJSON(needs.platform-cache.outputs.platforms)[matrix.platform].image}} + image: ${{fromJSON(needs.platform-cache.outputs.platforms)[matrix.cfg.base].image}} options: --security-opt seccomp=unconfined steps: - uses: actions/checkout@v3 - name: Download builddir uses: actions/download-artifact@v3 with: - name: ${{matrix.platform}}-build + name: ${{matrix.cfg.builddir}}-build - name: Run Parallel Tests run: | # https://github.com/actions/runner/issues/2033 -- need this because of full version label test looking at git revs