-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (52 loc) · 1.49 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
---
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.11"
- "3.12"
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/tox@6630dca9555ad0bcebc93e0d9177aa416991fc97 # v0
with:
cache-path: |-
.tox
~/.cache/sleplet
pyproject-toml: ./pyproject.toml
python-version: ${{ matrix.python-version }}
- name: Coveralls Parallel
# yamllint disable-line rule:line-length
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # 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@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2
with:
parallel-finished: true
# yamllint disable-line rule:quoted-strings
carryforward: "\
run-macos-latest-3.11,\
run-ubuntu-latest-3.11,\
run-macos-latest-3.12,\
run-ubuntu-latest-3.12"