Experiment scripts #6
Workflow file for this run
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, pull_request ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.11", "3.12", "3.13" ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Ruff | |
run: poetry run ruff check | |
- name: Install stubs | |
run: poetry run pip install types-PyYAML types-tqdm | |
- name: Mypy | |
run: poetry run mypy | |
- name: Pytest | |
run: poetry run python -m pytest tests |