From dd38921c6dfdfeff343682565c3253cdc42ea72d Mon Sep 17 00:00:00 2001 From: 21CSM <81891917+21CSM@users.noreply.github.com> Date: Tue, 24 Sep 2024 02:20:18 -0400 Subject: [PATCH] ci: add codecov to build.yml --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae84633..52e19de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,11 @@ jobs: - name: Install Dependencies run: nix develop -c pnpm install - name: Run Unit Tests - run: nix develop -c pnpm run test:unit + run: nix develop -c pnpm run test:unit:coverage + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Run Integration Tests run: nix develop -c pnpm run test:integration - name: Build Project