-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
52 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -67,19 +73,16 @@ jobs: | |
echo "measures.directory: ~/measures" > ~/.casarc | ||
- name: Install complete codex-africanus | ||
# Need pyyaml for dask 2.17.0 | ||
# See https://github.com/dask/dask/issues/6221 | ||
run: > | ||
pipenv install | ||
.[complete] | ||
pyyaml | ||
git+https://gitlab.mpcdf.mpg.de/ift/nifty_gridder.git#egg=nifty-gridder | ||
- name: Log installed package versions | ||
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] | ||
|
@@ -94,7 +97,7 @@ jobs: | |
- name: Set up Python 3.10 | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.10 | ||
python-version: '3.10' | ||
|
||
- name: Install latest setuptools, wheel, pip | ||
run: python3 -m pip install -U pip setuptools wheel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters