Skip to content

Commit

Permalink
Merge pull request #118 from LSSTDESC/issue/48/add_fsps
Browse files Browse the repository at this point in the history
Adding fsps demo; adding fsps set-up to smoke test
  • Loading branch information
OliviaLynn authored Nov 29, 2023
2 parents 26bdfb7 + d31b42f commit e015e13
Show file tree
Hide file tree
Showing 3 changed files with 548 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/smoke-test-head.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: |
rail clone-source --package-file rail_packages.yml
rail install --from-source --package-file rail_packages.yml
- name: Set up fsps
run: |
git clone "https://github.com/cconroy20/fsps.git" "/opt/hostedtoolcache/Python/fsps"
echo "SPS_HOME=/opt/hostedtoolcache/Python/fsps" >> $GITHUB_ENV
- name: Run notebooks
run: |
rail render-nb --skip examples/creation_examples/plotting_interface_skysim_cosmoDC2_COSMOS2020_demo.ipynb examples/${{ matrix.notebook-dir }}_examples/*.ipynb
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
- name: Run unit tests with pytest
run: |
python -m pytest tests
- name: Set up fsps
run: |
git clone "https://github.com/cconroy20/fsps.git" "/opt/hostedtoolcache/Python/fsps"
echo "SPS_HOME=/opt/hostedtoolcache/Python/fsps" >> $GITHUB_ENV
- name: Run notebooks
run: |
rail render-nb --skip examples/creation_examples/plotting_interface_skysim_cosmoDC2_COSMOS2020_demo.ipynb examples/${{ matrix.notebook-dir }}_examples/*.ipynb
Expand Down
Loading

0 comments on commit e015e13

Please sign in to comment.