-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (33 loc) · 803 Bytes
/
main.yml
File metadata and controls
35 lines (33 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: CI
"on":
workflow_dispatch:
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.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- 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 }}