forked from jgraichen/salt-pki
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.04 KB
/
build.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
name: build
on:
- push
- pull_request
jobs:
pytest:
name: ${{ matrix.name }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- name: Salt 3006
env: py3-salt3006-crypt39
python: '3.10'
- name: Salt 3005
env: py3-salt3005-crypt33
python: '3.9'
- name: Ubuntu 22.04
env: py3-salt3004-crypt34
python: '3.10'
- name: Debian 11
env: py3-salt3002-crypt33
python: '3.9'
steps:
- uses: actions/checkout@v1
- 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@v3
- uses: pdm-project/setup-pdm@v3
with:
python-version: "3.11"
- run: pdm install --dev --no-self --no-default
- run: pdm run black --check .