-
Notifications
You must be signed in to change notification settings - Fork 739
64 lines (58 loc) · 1.81 KB
/
Copy pathminimal-tests.yml
File metadata and controls
64 lines (58 loc) · 1.81 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Minimal Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
Check:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
platform: [ubuntu-latest, macos-latest, windows-latest]
pandas-version: ["2", "3"]
exclude:
- python-version: "3.13"
platform: windows-latest
- python-version: "3.14"
platform: windows-latest
- python-version: "3.10"
pandas-version: "3"
env:
AWS_DEFAULT_REGION: us-east-1
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Rust latest
run: rustup update
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install Requirements
run: uv sync --frozen --dev --verbose
working-directory: ${{ github.workspace }}
- name: Override pandas ${{ matrix.pandas-version }}
if: matrix.pandas-version == '3'
run: uv pip install "pandas>=3.0.0,<4.0.0"
- name: Test Metadata
run: uv run pytest tests/unit/test_metadata.py
working-directory: ${{ github.workspace }}
- name: Test Session
run: uv run pytest tests/unit/test_session.py
working-directory: ${{ github.workspace }}
- name: Test Utils
run: uv run pytest tests/unit/test_utils.py
working-directory: ${{ github.workspace }}
- name: Test Moto
run: uv run pytest -n 4 tests/unit/test_moto.py
working-directory: ${{ github.workspace }}