From 5dd742782a12c00dab17141d63bb448d172d495c Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Sat, 12 Oct 2019 21:32:06 -0500 Subject: [PATCH] add initial GitHub action CI --- .github/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 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 000000000..9993a506a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: + - master + - develop + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + emacs_version: + - 25.3 + - 26.1 + - snapshot + include: + - emacs_version: 26.3 + lint_ignore: 1 + env: + EMACS_LINT_IGNORE: ${{ matrix.lint_ignore }} + steps: + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + + - uses: actions/checkout@v1 + - name: Doom version + run: "bin/doom version" + - name: Run tests + run: "bin/doom test" + - name: Compile + run: "bin/doom -y compile"