Skip to content

Commit

Permalink
Add a GitHub Actions job for Minimal Racket
Browse files Browse the repository at this point in the history
Motivated by issues like #738, #739. Hopefully this job will catch any
similar problems now, and prevent us creating more in the future.
  • Loading branch information
greghendershott committed Jan 21, 2025
1 parent 9a29b5d commit ead1eaa
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,45 @@ jobs:
- name: Run Racket Tests
run: xvfb-run make test-racket

# The motivation for this job is to see if tests are likely to pass
# when run on headless servers such as Debian `buildd` with the
# Minimal Racket distriubtion (or equivalent). The tests themselves
# should detect the absence of a display or a missing Racket package
# and skip. See *** in comments below.
minimal:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- '29.1' # most recent release
racket_version:
- 'stable' # most recent release
name: Minimal Racket
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/[email protected]
with:
architecture: 'x64'
distribution: 'minimal' # *** NOT 'full'
version: ${{ matrix.racket_version }}
- name: Show versions
run: make show-versions
- name: Install Emacs Packages
run: make deps
- name: Compile Emacs Lisp
run: make compile
- name: Run Emacs Lisp Tests
run: make test-elisp
- name: Run Racket Tests
run: make test-racket # *** do NOT use xvfb-run

windows:
runs-on: windows-latest
strategy:
Expand Down

0 comments on commit ead1eaa

Please sign in to comment.