File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " pip"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " weekly"
7
+ pull-request-branch-name :
8
+ separator : " -"
Original file line number Diff line number Diff line change
1
+ name : Pipenv Install and Test
2
+
3
+ on :
4
+ push :
5
+ branches-ignore :
6
+ - main
7
+
8
+ jobs :
9
+ unittests :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Install Python, pipenv and Pipfile packages
16
+ uses : palewire/install-python-pipenv-pipfile@v4
17
+ with :
18
+ python-version : 3.11
19
+
20
+ - name : Run tests
21
+ run : |
22
+ pipenv install --dev
23
+ cd code/
24
+ pipenv run coverage run --source api/ -m pytest --verbose tests/unit/
25
+ pipenv run coverage report --fail-under=80
26
+
27
+ - name : Run pip-audit
28
+ run : pipenv run pip-audit
You can’t perform that action at this time.
0 commit comments