Skip to content

Commit

Permalink
Use rubin_sim from main instead of conda
Browse files Browse the repository at this point in the history
  • Loading branch information
ehneilsen committed Sep 21, 2023
1 parent 38640ab commit 599b437
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/python_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ jobs:
mamba install --quiet --file=requirements.txt
mamba install --quiet --file=test-requirements.txt
- name: get rubin_sim from main
uses: actions/checkout@v3
with:
repository: lsst/rubin_sim
ref: main
path: rubin_sim

- name: install rubin_sim
shell: bash -l {0}
run: |
cd rubin_sim
python -m pip install .
- name: download rubin_sim_data components needed for unit tests
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __version__ = "{version}"
"""

[tool.pytest.ini_options]
addopts = "--black --ignore-glob=*/version.py --ignore-glob=*data_dir/*"
addopts = "--black --ignore-glob=*/version.py --ignore-glob=*data_dir/* --ignore-glob=*rubin_sim/*"
testpaths = "."

[tool.black]
Expand Down

0 comments on commit 599b437

Please sign in to comment.