Skip to content

Run tests on PRs, pushes to master and main, and manually on a branch… #1

Run tests on PRs, pushes to master and main, and manually on a branch…

Run tests on PRs, pushes to master and main, and manually on a branch… #1

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs-version:
- 26.3
- 27.2
- 28.2
- 29.1
steps:
- uses: actions/checkout@v2
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- uses: actions/cache@v2
id: cache-cask-packages
with:
path: .cask
key: cache-cask-packages-000
- uses: actions/cache@v2
id: cache-cask-executable
with:
path: ~/.cask
key: cache-cask-executable-000
- uses: cask/setup-cask@master
if: steps.cache-cask-executable.outputs.cache-hit != 'true'
with:
version: snapshot
- run: echo "$HOME/.cask/bin" >> $GITHUB_PATH
- name: Install dependencies
run: cask install
- run: cask exec ert-runner