Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philipc2 authored Nov 13, 2023
1 parent 10e45ee commit 8f901ea
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,29 +81,23 @@ jobs:
python=${{matrix.python-version}}
conda
# We only want to install this on one run, because otherwise we'll have
# duplicate annotations.
- name: Install error reporter
if: ${{ matrix.os }} == 'ubuntu-latest' and ${{ matrix.python-version }} == '3.10'
run: |
python -m pip install pytest-github-actions-annotate-failures
- name: Install SciSonify
run: |
python -m pip install --no-deps -e .
python -m pip install . --no-deps
- name: Version info
- name: conda list
run: |
conda info -a
conda list
- name: Import SciSonify
- name: Run Coverage Tests
run: |
python -c "import scisonify"
python -m pytest
- name: Run tests
run: python -m pytest -n 4
--timeout 180
--cov-report=xml
--junitxml=pytest.xml
$PYTEST_EXTRA_FLAGS
- name: Upload code coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false

0 comments on commit 8f901ea

Please sign in to comment.