Skip to content

Commit

Permalink
use pytest-env for GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Mar 30, 2021
1 parent 64a4374 commit 8cc1d3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/doctest-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install flake8 pytest pytest-env
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install flybrains --no-deps
- name: Install navis
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[pytest]
doctest_optionflags = IGNORE_EXCEPTION_DETAIL NUMBER NORMALIZE_WHITESPACE
addopts = --doctest-modules
env =
NAVIS_HEADLESS=TRUE

0 comments on commit 8cc1d3b

Please sign in to comment.