-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a GitHub Actions job for Minimal Racket
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
1 parent
9a29b5d
commit ead1eaa
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|