Skip to content

Commit ad5a248

Browse files
author
Inbal Tako
committed
Fix github action tests
1 parent 0a1d81b commit ad5a248

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ jobs:
2222
status: STARTING
2323
color: warning
2424

25-
- name: Run Tests
26-
run: py.test --cov-report=xml --cov=securenative tests/
25+
- name: Set up Python
26+
uses: actions/setup-python@v2
27+
env:
28+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
29+
with:
30+
python-version: '3.x'
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r requirements.txt
34+
py.test --cov-report=xml --cov=securenative tests/
2735
2836
- name: Notify slack success
2937
if: success()

0 commit comments

Comments
 (0)