-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 996 Bytes
/
tests.yml
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
---
name: tests 🧪
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12']
exclude:
- os: windows-latest
python-version: '3.12'
steps:
- name: Support longpaths
run: git config --global core.longpaths true
- uses: actions/checkout@v4
- name: Test Py ${{ matrix.python-version }} 🧪
uses: collective/tox-action@main
with:
python-version: ${{ matrix.python-version }}
- name: Upload coverage report to CodeCov ☂
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}