Skip to content

Commit

Permalink
Create a .env file to supply environment variables to pip
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins committed Jan 30, 2024
1 parent 73ce157 commit 078437f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@ jobs:
with:
fetch-depth: 1

- name: Create a .env file
run: >
touch .env
echo NUMBA_NRT_STATS=1 >> .env
echo NUMBA_CAPTURED_ERRORS='new_style' >> .env
- name: Install base codex-africanus
run: pipenv install .[testing]

- name: Run base test suite
run: pipenv run NUMBA_NRT_STATS=1 py.test -s -vvv africanus/
run: pipenv run py.test -s -vvv africanus/

- name: List the measures directory
run: curl ftp://ftp.astron.nl/outgoing/Measures/ > measures_dir.txt
Expand Down Expand Up @@ -79,7 +85,7 @@ jobs:
run: pipenv graph

- name: Run complete test suite
run: pipenv run NUMBA_NRT_STATS=1 py.test -s -vvv africanus/
run: pipenv run py.test -s -vvv africanus/

deploy:
needs: [test]
Expand Down

0 comments on commit 078437f

Please sign in to comment.