Skip to content

Cv options

Cv options #1

Workflow file for this run

name: Run all default tests using pytest
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
# - name: Install Ruff for linting and formatting
# run: pip install ruff
# - name: Check code formatting with Ruff
# run: ruff format --diff --target-version=py312 .
# continue-on-error: true
- name: Test with pytest
run: |
pytest