Skip to content

Commit

Permalink
ci: run test without optional deps
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <trecia.agoylo@analog.com>
  • Loading branch information
tagoylo committed Sep 16, 2024
1 parent a1b4fb7 commit 9fb5c5a
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ jobs:
bash ./.github/scripts/install_pydeps.sh
sudo apt install -y python3-tk
- name: Test
- name: Test without optional dependencies
run: |
pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod'
pip uninstall -y paramiko
pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod'
- name: Report coverage
if: (github.event_name != 'pull_request') && (matrix.python-version == 3.6)
Expand All @@ -65,12 +66,6 @@ jobs:
with:
files: results.xml

- name: Test without optional dependencies
run: |
pip uninstall -y paramiko
pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod'
Lint:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 9fb5c5a

Please sign in to comment.