diff --git a/.github/workflows/build-unstable.yml b/.github/workflows/build-unstable.yml index 7168ff63..3673a168 100644 --- a/.github/workflows/build-unstable.yml +++ b/.github/workflows/build-unstable.yml @@ -76,6 +76,13 @@ jobs: if-no-files-found: error retention-days: 7 + - uses: actions/upload-artifact@v3 + if: success() || failure() + with: + name: test_results + path: test_results + + Deploy: runs-on: ubuntu-latest needs: BuildAndTest diff --git a/.github/workflows/test_report.yml b/.github/workflows/test_report.yml new file mode 100644 index 00000000..fa4cf796 --- /dev/null +++ b/.github/workflows/test_report.yml @@ -0,0 +1,16 @@ +name: Test Report +on: + workflow_run: + workflows: ['[CI] Build Unstable'] + types: + - completed +jobs: + report: + runs-on: ubuntu-latest + steps: + - uses: dorny/test-reporter@v1.6.0 + with: + artifact: test_results + name: Test reports + path: '*.xml' + reporter: java-junit diff --git a/.gitignore b/.gitignore index f73407cf..cc7325e3 100644 --- a/.gitignore +++ b/.gitignore @@ -138,3 +138,6 @@ dmypy.json node_modules/ coverage/ + +# junit xml for test results +test_results