todo #310
Workflow file for this run
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
on: [push, pull_request] | |
name: CI | |
jobs: | |
build: | |
name: "Build on Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})" | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental || false }} | |
strategy: | |
fail-fast: false | |
matrix: | |
racket-version: ["stable", "current"] | |
racket-variant: ["BC", "CS"] | |
include: | |
- racket-version: current | |
experimental: true | |
exclude: | |
# CI failing on BC stable lately, possible TR bug: | |
# https://github.com/bennn/rackunit-abbrevs/issues/6 | |
- racket-variant: BC | |
racket-version: stable | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Bogdanp/setup-racket@v1.11 | |
with: | |
architecture: x64 | |
distribution: full | |
variant: ${{ matrix.racket-variant }} | |
version: ${{ matrix.racket-version }} | |
- name: Installing frosthaven-manager and its dependencies | |
run: make install | |
- name: Compiling frosthaven-manager and building its docs | |
run: make check-deps RACO_SETUP_ARGS=--unused-pkg-deps | |
- name: Install xvfb to run headless tests | |
run: sudo apt-get install xvfb | |
- name: Testing frosthaven-manager | |
run: xvfb-run make test RACO_TEST_ARGS=--no-run-if-absent |