From 23abaff792c0459e51e596d3fecd5513617e8cb1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 18 Aug 2020 22:08:58 -0700 Subject: [PATCH] Add github workflow that runs buttercup on push and pull requests --- .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..ddfacb2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: test +on: + push: {branches: [master]} + pull_request: {branches: [master]} + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + emacs_version: + - '26.3' + - 'snapshot' + include: + - emacs_version: 'snapshot' + allow_failure: true + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - uses: conao3/setup-cask@master + + - name: Run tests + run: "cask && cask exec buttercup -L . || ${{ matrix.allow_failure == true }}"