Skip to content

Fix Workflows

Fix Workflows #13

Workflow file for this run

name: Push to main
on:
pull_request:
branches:
- "main"
jobs:
push_to_main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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
# export PYTHONPATH="${PYTHONPATH}:$(dirname $(pwd))"
# - name: Build documentation with Sphinx
# run: |
# sphinx-build -b html src/dcm_classifier documentation