File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Check Format
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - main
8
+
9
+ jobs :
10
+ run-unittests :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os : ["ubuntu-latest"]
15
+ python-version : ["3.10"]
16
+ name : ${{ matrix.os }} python-${{ matrix.python-version }}
17
+ steps :
18
+ - name : Set up the repository
19
+ uses : actions/checkout@v4
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : Install dependencies
25
+ run : |
26
+ pip install -r requirements.txt
27
+ pip install black
28
+ - name : Check Format with Black
29
+ run : |
30
+ black --check .
Original file line number Diff line number Diff line change
1
+ name : Run Unittests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - main
8
+
9
+ jobs :
10
+ run-unittests :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os : ["ubuntu-latest"]
15
+ python-version : ["3.10"]
16
+ name : ${{ matrix.os }} python-${{ matrix.python-version }}
17
+ steps :
18
+ - name : Set up the repository
19
+ uses : actions/checkout@v4
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v4
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : Install dependencies
25
+ run : |
26
+ pip install -r requirements.txt
27
+ pip install pytest
28
+ - name : Run Unittests
29
+ run : |
30
+ pytest
You can’t perform that action at this time.
0 commit comments