From 633df00606467ab2a8fa669dae7233077f65a053 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Mon, 24 Jun 2024 13:47:01 +0000 Subject: [PATCH] codecov on main codecov on main --- .github/workflows/test-unit.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 90429169f1..1f956b92a3 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -10,6 +10,10 @@ on: - "adr/**" - "docs/**" - "CODEOWNERS" + push: + # Running unit tests on main gives codecov a base to compare PRs against + branches: + - main permissions: contents: read @@ -31,8 +35,8 @@ jobs: - name: Run unit tests run: make test-unit - + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }}