From ad8ca73f9b0b01a3652c569ff7d9829ddaf20acc Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:11:24 -0500 Subject: [PATCH] Include FIPS build in coverage report --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3273820c095..ca2bbb3cd86 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -185,12 +185,15 @@ jobs: - name: Run coverage working-directory: ./aws-lc-rs run: cargo llvm-cov --workspace --features unstable --no-fail-fast --ignore-filename-regex "aws-lc-(fips-)?sys/.*" --lcov --output-path ${{ runner.temp }}/lcov.info + - name: Run FIPS coverage + working-directory: ./aws-lc-rs + run: cargo llvm-cov --workspace --features unstable,fips --no-fail-fast --ignore-filename-regex "aws-lc-(fips-)?sys/.*" --lcov --output-path ${{ runner.temp }}/lcov-fips.info - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - file: ${{ runner.temp }}/lcov.info + files: ${{ runner.temp }}/lcov.info,${{ runner.temp }}/lcov-fips.info aws-lc-rs-asan: name: aws-lc-rs asan