ci: Use eask's buttercup command #9
This file contains hidden or 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: Test | |
| on: push | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| emacs-version: | |
| - '26.3' | |
| - '27.2' | |
| - '28.2' | |
| - '29.4' | |
| - '30.2' | |
| 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 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Emacs | |
| uses: jcs090218/setup-emacs@master | |
| with: | |
| version: ${{ matrix.emacs-version }} | |
| - name: Set up Eask | |
| uses: emacs-eask/setup-eask@master | |
| with: | |
| version: 'snapshot' | |
| - uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Install Lua | |
| uses: leafo/gh-actions-lua@v12 | |
| with: | |
| luaVersion: "5.2.4" | |
| - name: Run tests | |
| if: matrix.allow_failure != true | |
| run: 'make test' | |
| - name: Run tests (allow failure) | |
| if: matrix.allow_failure == true | |
| run: 'make test || true' |