Skip to content

Modernization to 2025 standards and update for Python 3.13+ compatibility #61

Modernization to 2025 standards and update for Python 3.13+ compatibility

Modernization to 2025 standards and update for Python 3.13+ compatibility #61

Workflow file for this run

name: CI
"on":
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
pre-commit:
name: pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Run pre-commit hooks
uses: pre-commit/action@v4
with:
extra_args: --all-files
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.13]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Run tests
run: |
if [ -f pytest.ini ] || ls tests >/dev/null 2>&1; then pytest -q; else echo "No tests found"; fi