From 10b80f88fa19f98e5ea4d867ab17bd700793cfe2 Mon Sep 17 00:00:00 2001 From: dhuangnm Date: Thu, 12 Sep 2024 12:04:32 -0400 Subject: [PATCH] fix test reporting issue --- .github/actions/test/action.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 3259ff37..8e8ba137 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -24,7 +24,7 @@ runs: # run test echo "running tests..." rm -rf src - make test || SUCCESS=$? + pytest tests --junitxml=test-results/report.xml || SUCCESS=$? echo "status=${SUCCESS}" >> "$GITHUB_OUTPUT" deactivate exit ${SUCCESS} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ccccfd5..f7009819 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,7 +114,7 @@ jobs: testmo_url: https://neuralmagic.testmo.net testmo_token: ${{ secrets.TESTMO_TEST_TOKEN }} testmo_run_id: ${{ inputs.testmo_run_id }} - results: llm-compressor/test-results + results: test-results step_status: ${{ steps.test.outputs.status }} - name: summary