From 9ccb8a21080225b91c2b690e16438617eac18e34 Mon Sep 17 00:00:00 2001 From: Ben-Cassese Date: Mon, 15 Apr 2024 14:11:10 -0400 Subject: [PATCH] changing working dir --- .github/workflows/tests.yml | 3 ++- tox.ini | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3662e93..9708891 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,9 +26,10 @@ jobs: run: tox env: PLATFORM: ${{ matrix.platform }} + working-directory: ${{ github.workspace }} - name: Coveralls GitHub Action if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' uses: coverallsapp/github-action@v2.2.3 with: - file: "**coverage.xml" + file: ./coverage.xml diff --git a/tox.ini b/tox.ini index dea32ca..82ad138 100644 --- a/tox.ini +++ b/tox.ini @@ -26,13 +26,13 @@ deps = coverage skip_install = true commands = coverage erase -; [testenv:report] -; deps = coverage -; skip_install = true -; commands = -; coverage report -; ; coverage html -o {toxinidir}/coverage.xml -; coverage xml -o {toxinidir}/coverage.xml +[testenv:report] +deps = coverage +skip_install = true +commands = + coverage report + ; coverage html -o {toxinidir}/coverage.xml + coverage xml #-o {toxinidir}/coverage.xml [coverage:paths] source = src/tox