Update GH actions #206
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'examples/*' | |
- 'extra/*' | |
pull_request: | |
schedule: | |
- cron: '0 12 1 * *' | |
jobs: | |
test: | |
name: Checks/Tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
emacs_version: | |
- '26.3' | |
- '29.2' | |
# TODO: Re-enable in future | |
# - snapshot | |
os: | |
- ubuntu-latest | |
- macos-latest | |
steps: | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs_version }} | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10.6' | |
- name: Setup checks | |
run: 'make setup-check' | |
- name: Run checks | |
run: 'make check' | |
- name: Setup unit testing | |
run: 'make setup-tests' | |
- name: Run ERT unit tests | |
env: | |
WAIT_TIME: 3 | |
run: 'make test' |