File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -5,31 +5,30 @@ name: Python tests
5
5
6
6
on :
7
7
push :
8
- branches : [ "main" ]
8
+ branches : ["main"]
9
9
pull_request :
10
- branches : [ "main" ]
10
+ branches : ["main"]
11
11
12
12
permissions :
13
13
contents : read
14
14
15
15
jobs :
16
16
build :
17
-
18
17
runs-on : ubuntu-latest
19
18
strategy :
20
19
matrix :
21
20
python-version : ["3.10", "3.11", "3.12"]
22
21
23
22
steps :
24
- - uses : actions/checkout@v4
25
- - name : Set up Python ${{ matrix.python-version }}
26
- uses : actions/setup-python@v4
27
- with :
28
- python-version : ${{ matrix.python-version }}
29
- - name : Install dependencies
30
- run : |
31
- python -m pip install --upgrade pip
32
- if [ -f requirements .txt ]; then pip install -r requirements .txt; fi
33
- - name : Test with unittest
34
- run : |
35
- python -m unittest discover -v tests/
23
+ - uses : actions/checkout@v4
24
+ - name : Set up Python ${{ matrix.python-version }}
25
+ uses : actions/setup-python@v4
26
+ with :
27
+ python-version : ${{ matrix.python-version }}
28
+ - name : Install dependencies
29
+ run : |
30
+ python -m pip install --upgrade pip
31
+ if [ -f dev_requirements .txt ]; then pip install -r dev_requirements .txt; fi
32
+ - name : Test with unittest
33
+ run : |
34
+ python -m unittest discover -v tests/
You can’t perform that action at this time.
0 commit comments