Skip to content

Commit

Permalink
mp fix for macOS and (maybe) Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
francoislaurent committed Mar 30, 2021
1 parent 480316c commit f36a03b
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest, pathos
python -m pip install pytest pathos
python -m pip install .[roi]
- name: Test with pytest (Windows)
if: ${{ runner.os == 'Windows' }}
Expand All @@ -78,25 +78,25 @@ jobs:
tests/test_core.py
tests/test_analyzer.py
coverage:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies and run tests
run: |
sudo apt-get update
sudo apt-get install h5utils
python -m pip install --upgrade pip
python -m pip install pytest-cov
python -m pip install .[roi]
python -m pytest --cov=./ \
tests/test_core.py \
tests/test_analyzer.py
- uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
# coverage:
#
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: 3.8
# - name: Install dependencies and run tests
# run: |
# sudo apt-get update
# sudo apt-get install h5utils
# python -m pip install --upgrade pip
# python -m pip install pytest-cov
# python -m pip install .[roi]
# python -m pytest --cov=./ \
# tests/test_core.py \
# tests/test_analyzer.py
# - uses: codecov/codecov-action@v1
# with:
# fail_ci_if_error: true

0 comments on commit f36a03b

Please sign in to comment.