-
Notifications
You must be signed in to change notification settings - Fork 47
39 lines (35 loc) · 975 Bytes
/
full_tests.yml
File metadata and controls
39 lines (35 loc) · 975 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
39
name: Complete tests
on:
pull_request:
branches: [main]
types: [synchronize, opened, reopened]
workflow_dispatch:
schedule:
- cron: "0 12 * * *" # Daily at noon UTC
jobs:
build-and-test:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.14"] # Lower and higher versions we support
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .
pip install --group test
- name: Pytest
run: |
pytest -m "not library" -v
- name: Pytest library tests
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
pytest -m library -v