Add exit code tests #1060
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: Global | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'eask' | |
- '**.yml' | |
- lisp/** | |
- cmds/** | |
- src/** | |
- test/** | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
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: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
emacs-version: | |
- 26.3 | |
- 27.2 | |
- 28.2 | |
- 29.4 | |
experimental: [false] | |
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: 26.3 | |
- os: macos-latest | |
emacs-version: 27.2 | |
steps: | |
- uses: jcs090218/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: actions/checkout@v4 | |
- name: Prepare Eask (Unix) | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | |
run: | | |
chmod -R 777 ./ | |
.github/scripts/setup-eask | |
- name: Prepare Eask (Windows) | |
if: matrix.os == 'windows-latest' | |
run: .github/scripts/setup-eask.ps1 | |
- name: Testing... | |
run: | | |
make command-global |