59 correct series invalidity #10
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: Pull Request to Main | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
pr_to_main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
lfs: true # Ensure LFS files are checked out | |
- name: Install Git LFS | |
run: | | |
git lfs install | |
git lfs pull | |
- name: Set up Python 3.10.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.10.12 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements_dev.txt | |
pip install sphinx sphinx-rtd-theme # Install Sphinx and a theme (e.g., Read the Docs theme) | |
- name: Run pre-commit hooks | |
run: pre-commit run --all-files | |
- name: Run tests | |
working-directory: ./tests | |
run: pytest | |
# git lfs fetch --all | |
#pytest | |
# export PYTHONPATH="${PYTHONPATH}:$(dirname $(pwd))" | |
# - name: Build documentation with Sphinx | |
# run: | | |
# sphinx-build -b html src/dcm_classifier documentation |