From a0cf4269665ec2b2c737b6a30484b97488ffa30f Mon Sep 17 00:00:00 2001 From: alufers Date: Sat, 15 Apr 2023 16:00:33 +0200 Subject: [PATCH] feat: Add Codecov integration to Python workflow This commit adds the Codecov integration to the existing Python workflow. It now uses pytest with coverage enabled, and uploads the coverage reports to Codecov using the Codecov Action. --- .github/workflows/python.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 144cee8..53004b6 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -40,4 +40,6 @@ jobs: poetry run pre-commit run --all-files - name: Run Python tests run: | - poetry run pytest + poetry run pytest --cov + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3