From 6184449d66b507ee91a19703af9ce80efbccd952 Mon Sep 17 00:00:00 2001 From: Mews <60406199+Mews@users.noreply.github.com> Date: Tue, 11 Jun 2024 22:53:07 +0100 Subject: [PATCH] Dont run this one --- .github/workflows/test.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 63ffebb..bdd93d8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,10 +1,11 @@ name: Run tests on: - push: + gollum env: - pytest_cpus: 2 + pytest_cpus: 2 # How many cpu cores will be used to run tests + pytest_cov_dir: 'dgmr' # pytest-cov will look at the coverage for this directory jobs: test: @@ -19,4 +20,13 @@ jobs: - name: Run tests run: | - echo pytest -n $pytest_cpus \ No newline at end of file + echo pytest -n $pytest_cpus --cov-report=xml --cov=$pytest_cov_dir + + - name: Report coverage + run: | + coverage report -m + + - name: "Upload coverage to Codecov" + uses: codecov/codecov-action@v2 + with: + fail_ci_if_error: false \ No newline at end of file