Skip to content

Commit

Permalink
Merge pull request #366 from lsst/tickets/OPSIM-1079
Browse files Browse the repository at this point in the history
  • Loading branch information
rhiannonlynne authored Sep 29, 2023
2 parents 00c03d9 + 63df1cf commit fe9ef2e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
tags:
- "*"
workflow_dispatch:

jobs:
tests:
Expand Down Expand Up @@ -41,13 +42,21 @@ jobs:
echo `pwd`
python -m pip install .
- name: download rubin_sim_data components needed for unit tests
shell: bash -l {0}
run: |
export RUBIN_SIM_DATA_DIR=${{ github.workspace }}/data_dir
rs_download_data --tdqm_disable -d 'site_models,throughputs,skybrightness,skybrightness_pre'
rs_download_data --tdqm_disable -d tests --force
- name: conda list
shell: bash -l {0}
run: conda list

- name: run unit tests
shell: bash -l {0}
run: |
export RUBIN_SIM_DATA_DIR=${{ github.workspace }}/data_dir
pytest -r a -v --cov=rubin_sim --cov=tests --cov-report=xml --cov-report=term --cov-branch
- name: Upload coverage to codecov
Expand Down

0 comments on commit fe9ef2e

Please sign in to comment.