From a8b4d1f1107c9016cbe676eaa149901e0621202d Mon Sep 17 00:00:00 2001 From: Brendt Wohlberg Date: Mon, 29 Apr 2024 10:12:15 -0600 Subject: [PATCH] Attempt to fix workflow --- .github/workflows/pytest.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 266ec58..d34d559 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -18,22 +18,21 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true activate-environment: test-env python-version: ${{ matrix.python-version }} - - name: Install dependencies run: | conda install -c conda-forge pytest pytest-cov python -m pip install --upgrade pip + pip install pytest-cov pip install -r requirements.txt pip install -e . - name: Unit tests run: | - pytest --cov=sporco --cov-report=xml + pytest --cov=sporco --cov-report xml - name: Upload coverage to codecov if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v3