-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (41 loc) · 1.12 KB
/
test.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
35
36
37
38
39
40
41
42
43
44
45
46
# vim: ft=yaml:sw=2
name: build
on:
- push
- pull_request
jobs:
pytest:
name: ${{ matrix.env }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- python: "3.10"
env: py310-salt3006
- python: "3.9"
env: py39-salt3005
- python: "3.9"
env: py39-salt3004
- python: "3.9"
env: py39-salt3003
- python: "3.9"
env: py39-salt3002
- python: "3.8"
env: py38-salt3001
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python }}
- run: pdm install --dev --no-self --no-default
- run: pdm run tox -e ${{ matrix.env }} -- -vv
black:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: pdm-project/setup-pdm@v3
with:
python-version: "3.11"
- run: pdm install --dev --no-self --no-default
- run: pdm run black --check .