@@ -3,7 +3,7 @@ name: Continuous integration
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - main
7
7
pull_request :
8
8
branches : ["**"]
9
9
@@ -14,44 +14,44 @@ jobs:
14
14
matrix :
15
15
python-version : ["3.7", "3.8", "3.9", "3.10", "3.11"]
16
16
steps :
17
- - uses : actions/checkout@v3
18
- - name : Set up Python ${{ matrix.python-version }}
19
- uses : actions/setup-python@v4
20
- with :
21
- python-version : ${{ matrix.python-version }}
22
- - name : Install dependencies
23
- run : |
24
- python -m pip install --upgrade pip
25
- python -m pip install -e ".[dev]"
26
- - name : Test
27
- run : python -m pytest src
17
+ - uses : actions/checkout@v3
18
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v4
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ python -m pip install -e ".[dev]"
26
+ - name : Test
27
+ run : python -m pytest src
28
28
29
29
black :
30
30
runs-on : ubuntu-latest
31
31
steps :
32
- - uses : actions/checkout@v3
33
- - name : Set up Python
34
- uses : actions/setup-python@v4
35
- with :
36
- python-version : " 3.x"
37
- - name : Install dependencies
38
- run : |
39
- python -m pip install --upgrade pip
40
- python -m pip install -e ".[dev]"
41
- - name : Check
42
- run : python -m black --check src
32
+ - uses : actions/checkout@v3
33
+ - name : Set up Python
34
+ uses : actions/setup-python@v4
35
+ with :
36
+ python-version : " 3.x"
37
+ - name : Install dependencies
38
+ run : |
39
+ python -m pip install --upgrade pip
40
+ python -m pip install black
41
+ - name : Check
42
+ run : python -m black -v --check src
43
43
44
44
flake8 :
45
45
runs-on : ubuntu-latest
46
46
steps :
47
- - uses : actions/checkout@v3
48
- - name : Set up Python
49
- uses : actions/setup-python@v4
50
- with :
51
- python-version : " 3.x"
52
- - name : Install dependencies
53
- run : |
54
- python -m pip install --upgrade pip
55
- python -m pip install -e ".[dev]"
56
- - name : Check
57
- run : python -m pflake8 src
47
+ - uses : actions/checkout@v3
48
+ - name : Set up Python
49
+ uses : actions/setup-python@v4
50
+ with :
51
+ python-version : " 3.x"
52
+ - name : Install dependencies
53
+ run : |
54
+ python -m pip install --upgrade pip
55
+ python -m pip install pyproject-flake8
56
+ - name : Check
57
+ run : pflake8 -v src
0 commit comments