From 50942eaa91b8d7a5e194445880ba66c27d132db6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 17 Oct 2021 17:57:47 +0200 Subject: ci: travis -> github MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .github/workflows/ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4f7c250 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: ci + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + continue-on-error: ${{ matrix.emacs_version == 'snapshot' }} + + strategy: + fail-fast: false + matrix: + emacs_version: + - '27.2' + - 'snapshot' + + steps: + - uses: actions/checkout@v2 + + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + + - name: Run tests for scripts + run: | + ./bin/test/test.sh + + - name: Install Doom Emacs + run: | + git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d + ~/.emacs.d/bin/doom install + + - name: Check GNU Emacs + run: | + doom doctor -- cgit v1.2.3