Skip to content

Commit

Permalink
feat: Include test on macos-11 below 28.x (#335)
Browse files Browse the repository at this point in the history
* feat: Include test on macos-11 below 28.x

Also change versions to unquoted, rename `emacs_version` to `emacs-version` and exclude windows-latest, snapshot in a nicer way

* quote versions

---------

Co-authored-by: Hong Xu <[email protected]>
  • Loading branch information
sebastiaanspeck and xuhdev authored May 14, 2024
1 parent 6ac848e commit b120ccd
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,46 @@ concurrency:
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"
emacs-version:
- "28.2"
- "29.3"
experimental: [false]
include:
- os: ubuntu-latest
emacs_version: snapshot
emacs-version: "26.3"
experimental: false
- os: macos-11
emacs-version: "26.3"
experimental: false
- os: windows-latest
emacs-version: "26.3"
experimental: false
- os: ubuntu-latest
emacs-version: "27.2"
experimental: false
- os: macos-11
emacs-version: "27.2"
experimental: false
- os: windows-latest
emacs-version: "27.2"
experimental: false
- os: ubuntu-latest
emacs-version: snapshot
experimental: true
- os: macos-latest
emacs_version: snapshot
emacs-version: snapshot
experimental: true
exclude:
# 2023/8/2 Recently this test always fails
# so remove this until it works
# - os: windows-latest
# emacs_version: snapshot
# experimental: true
exclude:
- os: macos-latest
emacs_version: "26.3"
- os: macos-latest
emacs_version: "27.2"
continue-on-error: ${{ matrix.experimental }}
- os: windows-latest
emacs-version: snapshot
experimental: true

steps:
- name: Checkout
Expand All @@ -56,7 +68,7 @@ jobs:
- name: Setup Emacs
uses: jcs090218/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
version: ${{ matrix.emacs-version }}

- uses: emacs-eask/setup-eask@master
with:
Expand Down

0 comments on commit b120ccd

Please sign in to comment.