From 05f3c0b9cda7847fc0b4b54d106cbbd2680aae89 Mon Sep 17 00:00:00 2001 From: Christian Helle Date: Mon, 12 Feb 2024 09:03:15 +0100 Subject: [PATCH] Upload coverage reports to Codecov from build workflow --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9686cf..fc3a650 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,3 +28,7 @@ jobs: run: python setup.py develop - name: Run Tests run: python -m pytest tests/ -v --cov --cov-report=xml --cov-report=term-missing + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}