-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (56 loc) · 1.62 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
name: Test
on:
push:
branches:
- main
- renovate/**
pull_request:
jobs:
test:
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/tox@18d8678a5aea33da18556ae7823433325631dadd # v0
with:
cache-path: |-
.tox
~/.cache/sleplet
operating-system: ${{ matrix.os }}
pyproject-toml: ./pyproject.toml
python-version: ${{ matrix.python-version }}
- name: Coveralls Parallel
# yamllint disable-line rule:line-length
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2
with:
flag-name: run-${{ matrix.os }}-${{ matrix.python-version }}
parallel: true
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
# yamllint disable-line rule:line-length
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2
with:
parallel-finished: true
# yamllint disable-line rule:quoted-strings
carryforward: "\
run-macos-latest-3.10,\
run-ubuntu-latest-3.10,\
run-macos-latest-3.11,\
run-ubuntu-latest-3.11,\
run-macos-latest-3.12,\
run-ubuntu-latest-3.12"