added option to rebuild model up to specific readout layer #1523
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: pytest | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
schedule: | |
- cron: '14 3 * * 1' # at 03:14 on Monday. | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "pyproject.toml" | |
- name: Install the project | |
run: uv sync --all-extras --no-extra cuda --dev | |
- name: Unit Tests | |
run: | | |
uv run coverage run -m pytest -k "not slow" | |
uv run coverage report | |
- name: Coverage Report | |
run: | | |
uv run coverage report -m >> $GITHUB_STEP_SUMMARY | |
# - name: Regression Tests | |
# run: | | |
# poetry run coverage run -m pytest test/test_regression |