Added full Markov-model pipeline (#11) #47
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lintAndTest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.13 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry config virtualenvs.create true | |
poetry install --no-interaction --with dev | |
poetry run setup | |
- name: Run Pre-commit checks | |
uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: --all-files --show-diff-on-failure | |
- name: Run tests | |
run: poetry run pytest --maxfail=1 --disable-warnings -v |