-
Notifications
You must be signed in to change notification settings - Fork 19
44 lines (36 loc) · 869 Bytes
/
test.yml
File metadata and controls
44 lines (36 loc) · 869 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
40
41
42
43
44
on:
push:
branches:
- main
pull_request:
branches:
- '*'
schedule:
- cron: '5 1 * * *'
workflow_dispatch:
name: Tests
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
pyv: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.pyv }}
- name: Install dependencies
run: |
python -m pip install -r requirements-dev.txt
python -m pip install -e .
- name: Test
timeout-minutes: 1
run: python -m pytest --cov-report=xml --cov=.
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
fail_ci_if_error: false