-
-
Notifications
You must be signed in to change notification settings - Fork 34
39 lines (36 loc) · 1.21 KB
/
ci.yml
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
name: Build and Test
on:
push:
branches:
- master
pull_request:
jobs:
build-test:
runs-on: ubuntu-22.04
container: racket/racket-ci:latest
strategy:
fail-fast: false
matrix:
racket-version: ["current"]
racket-variant: ['BC', 'CS']
steps:
- uses: actions/checkout@v4
- uses: Bogdanp/setup-racket@v1.11
with:
architecture: x64
distribution: minimal
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
dest: '"${HOME}/racketdist-${{ matrix.racket-version }}-${{ matrix.racket-variant }}"'
local_catalogs: $GITHUB_WORKSPACE
sudo: never
- name: Install rackunit
run: raco pkg install -i --auto rackunit-test compiler-lib
- name: Run Tests
run: raco test --table -e --process -p rackunit-test rackunit-lib
- name: Install extra packages
run: raco pkg install -i --auto rackunit-typed rackunit-gui rackunit-plugin-lib
- name: Run extra tests
run: xvfb-run raco test --table -e --process -p rackunit-typed rackunit-plugin-lib rackunit-gui
- name: Install docs
run: raco pkg install -i --auto rackunit-doc