diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml index 4e8dde72..0366570f 100644 --- a/.github/workflows/test-report.yml +++ b/.github/workflows/test-report.yml @@ -32,3 +32,4 @@ jobs: name: ERT Tests path: test-results.xml reporter: java-junit + use-actions-summary: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be817a6b..4ef320e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,20 +22,19 @@ jobs: run: | git clone --depth 1 https://github.com/xenodium/acp.el ../acp git clone --depth 1 https://github.com/xenodium/shell-maker ../shell-maker - git clone --depth 1 https://bitbucket.org/olanilsson/ert-junit ../ert-junit - name: Run tests + env: + EMACS_TEST_JUNIT_REPORT: '1' run: | emacs --batch -Q \ -L . \ -L ../acp \ -L ../shell-maker \ - -L ../ert-junit \ - --load ert-junit \ + --eval '(setq ert-load-file-name "test-results")' \ --load tests/agent-shell-fakes.el \ $(find tests -name '*-tests.el' | sort | sed 's/^/--load /') \ - -f ert-junit-run-tests-batch-and-exit \ - test-results.xml + -f ert-run-tests-batch-and-exit - name: Upload test results if: success() || failure()