From 3eb5d5ea700641e9ad583b48ebab015ad253df1d Mon Sep 17 00:00:00 2001 From: Will Molloy Date: Sun, 2 Jul 2023 19:46:15 +1200 Subject: [PATCH] Codecov changes Push on each os. Fail CI if error. --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1e4999..2281697 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,11 +50,10 @@ jobs: run: npm run test - name: Upload coverage to Codecov - if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3 with: - name: codecov-build - fail_ci_if_error: false + flags: unit-tests-${{ matrix.os }} + fail_ci_if_error: true - name: Upload build artifact if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'