Revamp CI, Enable it for 29.1, Fix flaky tests #956
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, pull_request] | |
jobs: | |
unix-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
emacs-version: | |
- 27.2 | |
- 28.1 | |
- 29.1 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: just@1.16.0 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: cask/setup-cask@v1 | |
with: | |
version: 0.9.0 | |
- name: Install requirements | |
run: | | |
echo "$HOME/.cask/bin" >> $GITHUB_PATH | |
echo "$HOME/bin" >> $GITHUB_PATH | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.74.1 | |
components: clippy, rustfmt | |
- name: Run tests | |
run: | | |
just build | |
just test |