From d45abc810d10700541207ded682beaec8159b880 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 9 Oct 2023 21:25:40 +0200 Subject: [PATCH] try to generate coverage report --- .github/workflows/python-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 0176ef9..00e556c 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -37,4 +37,9 @@ jobs: - name: Test with pytest run: | pip install pytest pytest-cov - pytest --cov-report=html --junitxml=report.xml -v tests/ \ No newline at end of file + pytest --cov-report html --cov="./coverage-report/" tests/ + - name: upload coverage data + uses: actions/upload-artifact@v3 + with: + name: coverage-report + path: ./coverage-report/ \ No newline at end of file