Merge branch 'main' into 1983-new_reco_pages #401
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
name: Test Solidago | |
on: | |
# Run tests only when relevant files have changed | |
push: | |
paths: | |
- 'solidago/**' | |
- '.github/workflows/solidago-test.yml' | |
pull_request: | |
paths: | |
- 'solidago/**' | |
- '.github/workflows/solidago-test.yml' | |
defaults: | |
run: | |
working-directory: solidago | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: pip install -e .[test,torch] | |
- name: Run pytest | |
run: pytest |