From 7923c44223bd40c939a69f65ab1494868c652858 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Thu, 17 Jul 2025 10:15:52 +0300 Subject: [PATCH 1/2] Add Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7632a01 --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +.PHONY: test +test: + emacs --batch -L . -l unity-launcher-api-tests -f ert-run-tests-batch From db163e3d5a700b06113baa19aa42f8416b8246e5 Mon Sep 17 00:00:00 2001 From: Aleksei Gusev Date: Thu, 17 Jul 2025 10:29:19 +0300 Subject: [PATCH 2/2] Add Github Action for tests --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7dec790 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +permissions: + contents: read +on: + push: + branches: [master] + pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true +name: test +jobs: + required: + runs-on: ubuntu-latest + name: test / ${{ matrix.emacs_version }} + strategy: + matrix: + emacs_version: ["29.4", "30.1", "snapshot"] + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: jcs090218/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - run: make test