Fix and document tests #46
Workflow file for this run
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: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO: fix lsp-sonarlint-c++-reports-issues and include macos-latest | |
os: [ubuntu-latest] | |
emacs-version: | |
- 27.2 | |
- 28.2 | |
- 29.3 | |
experimental: [false] | |
# TODO: enable once emacs snapshot version is fixed | |
# see https://github.com/emacs-eask/cli/issues/224 | |
# include: | |
# - os: ubuntu-latest | |
# emacs-version: snapshot | |
# experimental: true | |
# - os: macos-latest | |
# emacs-version: snapshot | |
# experimental: true | |
# - os: windows-latest | |
# emacs-version: snapshot | |
# experimental: true | |
exclude: | |
- os: macos-latest | |
emacs-version: 27.2 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java # SonarLint runs on Java. | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Setup NodeJS # for JS and TS analyzer | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: jcs090218/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: emacs-eask/setup-eask@master | |
with: | |
version: 'snapshot' | |
- name: Run tests | |
run: | |
make ci |