-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 911 Bytes
/
test.yaml
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: Test
on:
push:
branches:
- main
- renovate/**
pull_request:
workflow_dispatch:
concurrency:
cancel-in-progress: true
group: >-
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
jobs:
test:
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/tox@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
with:
cache-path: .tox
operating-system: ${{ matrix.os }}
pyproject-toml: ./pyproject.toml
python-version: ${{ matrix.python-version }}