Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ jobs:
name: ERT Tests
path: test-results.xml
reporter: java-junit
use-actions-summary: false
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading