File: test.yml

package info (click to toggle)
racket-mode 20201227git0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,040 kB
  • sloc: lisp: 9,808; makefile: 55
file content (47 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI

on:
  push:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        emacs_version:
          - '25.1'
          - '26.3'
          - '27.1'
        racket_version:
          - '6.9'
          - '7.9'
        # Also include snapshots of both Emacs and Racket. Note that
        # "allow_failure: true" doesn't seem to actually work yet on
        # GitHub Actions -- if this job fails it will say the overall
        # build failed. :(
        include:
          - emacs_version: 'snapshot'
            racket_version: 'current'
            allow_failure: true
    name: Test Emacs ${{ matrix.emacs_version }} and Racket ${{ matrix.racket_version }}
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Install Emacs
        uses: purcell/setup-emacs@master
        with:
          version: ${{ matrix.emacs_version }}
      - name: Install Racket
        uses: Bogdanp/setup-racket@v0.8
        with:
          architecture: 'x64'
          distribution: 'full'
          version: ${{ matrix.racket_version }}
      - name: Install Package
        run: make deps
      - name: Compile Elisp
        run: make compile
      - name: Run Tests
        run: make test