From 078437f4d828ee3ab2afffae594de5c2b7b77d85 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Tue, 30 Jan 2024 13:00:01 +0200 Subject: [PATCH] Create a .env file to supply environment variables to pip --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeb13856..f903063c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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]