Skip to content

Commit

Permalink
Attempt to fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Apr 29, 2024
1 parent 58fcb6c commit a8b4d1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b4d1f

Please sign in to comment.