Skip to content

Commit

Permalink
Add safety check to libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
BenGalewsky committed Mar 15, 2021
1 parent e5978f7 commit f443b49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
if: matrix.python-version == 3.7 && matrix.platform == 'ubuntu-latest'
run: |
flake8 --exclude=tests/* --ignore=E501,W503
- name: Check for vulnerable libraries
if: matrix.python-version == 3.7 && matrix.platform == 'ubuntu-latest'
run: |
pip install safety
pip freeze | safety check
- name: Test with pytest
run: |
python -m pytest
Expand Down

0 comments on commit f443b49

Please sign in to comment.