-
Notifications
You must be signed in to change notification settings - Fork 189
63 lines (52 loc) · 1.66 KB
/
style.yaml
File metadata and controls
63 lines (52 loc) · 1.66 KB
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
61
62
63
name: style
on:
push:
branches:
- "*"
pull_request:
branches: [master]
jobs:
analyze:
if: "(contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request') && !contains(github.event.head_commit.message, '[skip test]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.10"]
pip: [25.3]
tox: [4.32.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install tox
run: |
python -m pip install --upgrade pip==${{ matrix.pip }}
pip install tox==${{ matrix.tox }}
- name: Run analyze
run: make analyze
check-lint-and-format:
if: "(contains(github.event.head_commit.message, '[force ci]') || github.ref == 'refs/heads/master' || github.event_name == 'pull_request') && !contains(github.event.head_commit.message, '[skip test]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.10"]
pip: [25.3]
tox: [4.32.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install tox
run: |
python -m pip install --upgrade pip==${{ matrix.pip }}
pip install tox==${{ matrix.tox }}
- name: Run check-lint-and-format
run: make check-lint-and-format