Skip to content

Explain direnv scenario in back end scenarios example of Guide #1211

Explain direnv scenario in back end scenarios example of Guide

Explain direnv scenario in back end scenarios example of Guide #1211

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
ubuntu:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- '25.1' # our minimum supported version
- '26.3'
- '29.1' # most recent release
racket_version:
- '6.12' # our minimum supported version
- 'stable' # most recent release
# Also include bleeding edge snapshots of both Emacs and
# Racket. Note that "allow_failure: true" doesn't seem to
# actually work yet on GitHub Actions like it does on Travis
# CI: If this fails it will say the overall job failed. :(
# Meanwhile in the GitHub protected branch settings by making
# this one NOT a required status check -- which is some but
# not all of the behavior we miss from Travis CI.
include:
- emacs_version: 'snapshot'
racket_version: 'current'
allow_failure: true
name: Ubuntu 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@v1.10
with:
architecture: 'x64'
distribution: '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: xvfb-run make test-racket
windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- '29.1' # most recent release
racket_version:
- 'stable' # most recent release
name: Windows Emacs ${{ matrix.emacs_version }} and Racket ${{ matrix.racket_version }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Emacs
uses: jcs090218/setup-emacs-windows@master
with:
version: ${{ matrix.emacs_version }}
- name: Install Racket
uses: Bogdanp/setup-racket@v1.10
with:
architecture: 'x64'
distribution: 'full'
version: ${{ matrix.racket_version }}
- name: Install Emacs Packages
run: make deps
- name: Compile Elisp
run: make compile
- name: Run Emacs Lisp Tests
run: make test-elisp
- name: Run Racket Tests
run: make test-racket