Commit 8c5c78d 1 parent 195d689 commit 8c5c78d Copy full SHA for 8c5c78d
File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : python-csle-rest-api-build
2
+ run-name : ${{ github.actor }} python-csle-rest-api-build
3
+ on :
4
+ push :
5
+ branches :
6
+ - " master"
7
+ # pull_request:
8
+ # branches:
9
+ # - "master"
10
+
11
+ jobs :
12
+ test :
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest]
17
+ python-version : ['3.9']
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Set up Python ${{ matrix.python-version }}
22
+ uses : actions/setup-python@v2
23
+ with :
24
+ python-version : ${{ matrix.python-version }}
25
+ - name : Install python build dependencies
26
+ run : |
27
+ python -m pip install --upgrade pip
28
+ pip install tox tox-gh-actions
29
+ - name : Tox tests csle-rest-api
30
+ run : cd simulation-system/libs/csle-rest-api; tox
31
+ - name : Upload coverage reports to Codecov
32
+ uses : codecov/codecov-action@v3
33
+ env :
34
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
35
+ files : simulation-system/libs/csle-rest-api/coverage.yml
You can’t perform that action at this time.
0 commit comments