Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 8, 2024
1 parent 4879157 commit 377d580
Showing 1 changed file with 43 additions and 56 deletions.
99 changes: 43 additions & 56 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,47 @@ on:
pull_request:
workflow_dispatch:

jobs:
test-unix:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
emacs-version:
- 27.2
- snapshot

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: "3.6"
architecture: "x64"

- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}

- uses: cask/setup-cask@master
with:
version: 'snapshot'

- name: Run tests
run:
make ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

test-windows:
runs-on: windows-latest
strategy:
matrix:
emacs-version:
- 27.2
- snapshot

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: "3.6"
architecture: "x64"

- uses: jcs090218/setup-emacs-windows@master
with:
version: ${{ matrix.emacs-version }}

- uses: cask/setup-cask@master
with:
version: 'snapshot'

- name: Run tests
run:
make ci
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
emacs-version:
- 27.2
- 28.2
- 29.3
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: 27.2

steps:
- uses: actions/checkout@v4

- 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

0 comments on commit 377d580

Please sign in to comment.