-
Notifications
You must be signed in to change notification settings - Fork 204
executable file
·38 lines (37 loc) · 903 Bytes
/
tests.yaml
File metadata and controls
executable file
·38 lines (37 loc) · 903 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
36
37
38
name: Tests
on:
pull_request:
push:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
# Test min and max supported Python versions
python-version:
- "3.10"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the_well
run: uv sync --all-extras --dev
- name: Run tests
env:
PY_COLORS: "1"
run: uv run pytest tests