-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
ce775be
commit 1576ddc
Showing
6 changed files
with
44 additions
and
43 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 |
---|---|---|
|
@@ -25,6 +25,7 @@ jobs: | |
scipy-version: ['<1.6', '<1.7'] | ||
speclite-version: ['==0.19'] | ||
desiutil-version: ['3.4.2'] | ||
desimodel-version: ['0.19.1'] | ||
|
||
steps: | ||
- name: Checkout code | ||
|
@@ -46,7 +47,7 @@ jobs: | |
python -m pip install 'numpy${{ matrix.numpy-version }}' | ||
python -m pip install 'speclite${{ matrix.speclite-version }}' | ||
python -m pip install git+https://github.com/desihub/desiutil.git@${{ matrix.desiutil-version }} | ||
python -m pip install git+https://github.com/desihub/desimodel.git@0.09.1 | ||
python -m pip install git+https://github.com/desihub/desimodel.git@${{ matrix.desimodel-version }} | ||
- name: Run the test | ||
run: pytest | ||
|
@@ -77,7 +78,7 @@ jobs: | |
python -m pip install pytest pytest-astropy coveralls | ||
python -m pip install pyyaml numpy\<1.21 scipy\<1.6 astropy\<5.0 speclite==0.19 | ||
python -m pip install git+https://github.com/desihub/[email protected] | ||
python -m pip install git+https://github.com/desihub/desimodel.git@0.09.1 | ||
python -m pip install git+https://github.com/desihub/desimodel.git@0.19.1 | ||
- name: Run the test with coverage | ||
run: pytest --cov | ||
|
@@ -141,7 +142,7 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip wheel setuptools flake8 | ||
- name: Test the style; failures are allowed | ||
- name: Test the style; failures are not allowed | ||
# This is equivalent to an allowed falure. | ||
continue-on-error: true | ||
# continue-on-error: true | ||
run: flake8 specsim --count --max-line-length=100 |
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