-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 841 Bytes
/
test.yml
File metadata and controls
31 lines (31 loc) · 841 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
name: test
on:
# Trigger the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install tox
run: pip install tox
- name: Run the tests
run: tox
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5