From d206755471c0147d883e7f1c53d9da88582520bb Mon Sep 17 00:00:00 2001 From: Trecia Agoylo Date: Mon, 16 Sep 2024 13:16:05 +0800 Subject: [PATCH] ci: run test without optional deps Signed-off-by: Trecia Agoylo --- .github/workflows/test.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 390e3adf3..0f5feb18c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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) @@ -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: