diff --git a/.github/workflows/part_test.yml b/.github/workflows/part_test.yml index e0d035a..951b3df 100644 --- a/.github/workflows/part_test.yml +++ b/.github/workflows/part_test.yml @@ -118,6 +118,7 @@ jobs: - run: rebar3 eunit --cover --cover_export_name "eunit-${{ steps.setupBEAM.outputs.otp-version }}" continue-on-error: ${{ matrix.unstable }} - uses: actions/upload-artifact@v4 + if: "${{ matrix.otp == needs.detectToolVersions.outputs.otpVersion }}" with: name: eunit-coverage-${{ matrix.otp }} path: "_build/test/cover/eunit-${{ steps.setupBEAM.outputs.otp-version }}.coverdata" @@ -159,6 +160,7 @@ jobs: - run: rebar3 ct --cover --cover_export_name "ct-${{ steps.setupBEAM.outputs.otp-version }}" continue-on-error: ${{ matrix.unstable }} - uses: actions/upload-artifact@v4 + if: "${{ matrix.otp == needs.detectToolVersions.outputs.otpVersion }}" with: name: ct-coverage-${{ matrix.otp }} path: _build/test/cover/ct-${{ steps.setupBEAM.outputs.otp-version }}.coverdata @@ -215,6 +217,7 @@ jobs: - run: mix test --cover --export-coverage "mix_test-${{ steps.setupBEAM.outputs.elixir-version }}" continue-on-error: ${{ matrix.unstable }} - uses: actions/upload-artifact@v4 + if: "${{ matrix.otp == needs.detectToolVersions.outputs.otpVersion }}" with: name: mix_test-coverage-${{ matrix.elixir }} path: cover/mix_test-${{ steps.setupBEAM.outputs.elixir-version }}.coverdata