Skip to content

Commit

Permalink
refactored the audit steps
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 8, 2024
1 parent 1cfdd02 commit 15dc01e
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,26 @@ jobs:
pip install --upgrade pip
pip install black
sudo pip install flake8
pip install pip-audit
pip install -r requirements.txt -r requirements/dev.txt
working-directory: xero-python

- name: Run audit on requirements.txt
run: |
pip install pip-audit
pip install -r requirements.txt
echo "running audit...."
echo "running audit on requirements.txt...."
pip-audit -r requirements.txt
working-directory: xero-python

- name: Run audit on dev.txt
run: |
pip install pip-audit
pip install -r requirements/dev.txt
echo "running audit...."
echo "running audit on dev.txt...."
pip-audit -r requirements/dev.txt
working-directory: xero-python

# - name: Run audit on dev.txt
# run: |
# pip install pip-audit
# pip install -r requirements/dev.txt
# echo "running audit...."
# pip-audit -r requirements/dev.txt
# working-directory: xero-python

- name: Run Flake8
run: flake8 xero_python
working-directory: xero-python
Expand Down

0 comments on commit 15dc01e

Please sign in to comment.