From 6f78895012700993b4852a8efd0a5a12951bec98 Mon Sep 17 00:00:00 2001 From: Trecia Agoylo Date: Mon, 16 Sep 2024 12:37:13 +0800 Subject: [PATCH] ci: update emulated test workflow Signed-off-by: Trecia Agoylo --- .github/workflows/test.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 390e3adf3..d0f3194ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,28 +49,27 @@ jobs: bash ./.github/scripts/install_pydeps.sh sudo apt install -y python3-tk - - name: Test - run: | - pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod' + # - name: Test + # run: | + # pytest -vs --cov=adi --scan-verbose --emu --junitxml="results.xml" -k 'not prod' - name: Report coverage if: (github.event_name != 'pull_request') && (matrix.python-version == 3.6) env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: coveralls + run: coveralls + - name: Test without optional dependencies + run: | + pip uninstall -y paramiko + pytest -vs --scan-verbose --emu --junitxml="results.xml" -k 'not prod' + - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() 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: