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