Skip to content

fixup! drop tox, replace python 3.8 (EOL) with python 3.13 (new) #142

fixup! drop tox, replace python 3.8 (EOL) with python 3.13 (new)

fixup! drop tox, replace python 3.8 (EOL) with python 3.13 (new) #142

Workflow file for this run

---
name: CI
"on":
push:
branches:
- '**'
paths-ignore:
- '**.md'
- '**.rst'
- '**.txt'
tags-ignore:
- 'v**' # Don't run CI tests on release tags
jobs:
tests:
name: Tests on ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- name: Tests
run: |
uv --version
uv run --python ${{ matrix.python-version }} pytest
env:
EXOSCALE_API_KEY: ${{ secrets.EXOSCALE_API_KEY }}
EXOSCALE_API_SECRET: ${{ secrets.EXOSCALE_API_SECRET }}
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up ruff
run: curl -LsSf https://astral.sh/ruff/0.6.9/install.sh | sh
- name: Lint
shell: bash
run: |-
ruff check