From a8e5418eb2884aa13259097725bc8bea2b69d886 Mon Sep 17 00:00:00 2001 From: Joseph Capriotti Date: Mon, 11 Mar 2024 16:46:43 -0600 Subject: [PATCH] remove all pytest-cov related options to pytest --- .github/workflows/python-package-conda.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 27ddb7e..1c04d76 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -27,7 +27,7 @@ jobs: include: - os: ubuntu-latest version: "3.12" - coverage: true + coverage: ${{ true }} steps: - uses: actions/checkout@v4 @@ -52,12 +52,12 @@ jobs: - name: Install Our Package run: | - python -m pip install --no-build-isolation --verbose --editable . --config-setting=compile-args=-v ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ''}} + python -m pip install --no-build-isolation --verbose --editable . --config-setting=compile-args=-v ${{ matrix.coverage && '--config-settings=setup-args="-Dcy_coverage=true"' || ' '}} conda list - name: Run Tests run: | - ${{ matrix.coverage && 'coverage run -m' || '' }} pytest --cov-config=.coveragerc --cov-report=xml --cov=pydiso -s -v + ${{ matrix.coverage && 'coverage run -m' || ' ' }}pytest -s -v - name: Upload coverage if: ${{ matrix.coverage }}