File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
3
on :
4
- push :
5
- branches : [ " main" ]
6
- pull_request :
7
- branches : [ " main" ]
4
+ push :
5
+ branches : [' main' ]
6
+ pull_request :
7
+ branches : [' main' ]
8
8
9
9
jobs :
10
10
linting :
16
16
- uses : actions/checkout@v3
17
17
- uses : actions/setup-python@v4
18
18
with :
19
- python-version : ' 3.10'
19
+ python-version : ' 3.10'
20
20
# ----------------------------------------------
21
21
# load pip cache if cache exists
22
22
# ----------------------------------------------
@@ -30,17 +30,17 @@ jobs:
30
30
# ----------------------------------------------
31
31
- run : python -m pip install black flake8 isort
32
32
- run : |
33
- flake8 . --count --show-source --statistics
34
- black . --check
35
- isort .
33
+ flake8 . --count --show-source --statistics
34
+ black . --check
35
+ isort .
36
36
37
37
test :
38
38
needs : linting
39
39
strategy :
40
40
fail-fast : true
41
41
matrix :
42
- os : [ " ubuntu-latest", " macos-latest" ]
43
- python-version : [ "3.10" ]
42
+ os : [' ubuntu-latest', ' macos-latest' ]
43
+ python-version : ['3.11' ]
44
44
runs-on : ${{ matrix.os }}
45
45
steps :
46
46
# ----------------------------------------------
87
87
- name : Run tests
88
88
run : |
89
89
source .venv/bin/activate
90
- pytest tests/
90
+ pytest tests/
You can’t perform that action at this time.
0 commit comments