Skip to content

Commit

Permalink
add default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrommyd committed Mar 28, 2024
1 parent e919eb5 commit 60bfe50
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ on:
types:
- published

defaults:
run:
# The login shell is necessary for the setup-micromamba setup
# to work in subsequent jobs.
# https://github.com/mamba-org/setup-micromamba#about-login-shells
shell: bash -e -l {0}

jobs:
tests_graph:
runs-on: ubuntu-latest
Expand All @@ -43,12 +50,10 @@ jobs:
which python
python -V
pip install .[dev]
shell: micromamba-shell {0}
- name: Test with pytest
run: |
coverage run --source=. --omit=".tox/*" --branch -m pytest .
coverage report
shell: micromamba-shell {0}
tests_eager:
runs-on: ubuntu-latest
Expand All @@ -74,10 +79,8 @@ jobs:
which python
python -V
pip install .[dev]
shell: micromamba-shell {0}
- name: Test with pytest
run: |
ZFIT_DO_JIT=0
coverage run --source=. --omit=".tox/*,*/test*," --branch -m pytest .
coverage report
shell: micromamba-shell {0}

0 comments on commit 60bfe50

Please sign in to comment.