We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6082134 commit b322611Copy full SHA for b322611
.github/workflows/github_actions.yml
@@ -0,0 +1,30 @@
1
+name: Python_Testing
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v2
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v2
15
+ with:
16
+ python-version: '3.8'
17
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install Flask pytest pytest-cov pytest-mock
22
23
+ - name: Run tests
24
25
+ pytest --cov=server tests/unit_tests
26
+ coverage report
27
28
+ - name: Check coverage
29
30
+ coverage report --fail-under=60
0 commit comments