Skip to content

Commit 0b6305f

Browse files
authored
✨ Merge pull request #34 from walking-octopus/ci
feat: add CI test pipeline
2 parents 4e28d43 + 8cc61b7 commit 0b6305f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- uses: actions/cache@v2
17+
name: Cache installed packages
18+
with:
19+
path: |
20+
~/.cache/racket
21+
~/.local/share/racket
22+
key: ${{ runner.os }}-raco-${{ hashFiles('**/info.rkt') }}
23+
24+
- name: Set up Racket
25+
uses: Bogdanp/setup-racket@v1.12
26+
with:
27+
architecture: 'x64'
28+
distribution: 'full'
29+
variant: 'CS'
30+
version: 'stable'
31+
32+
- name: Install dependencies
33+
run: raco pkg install --auto --dependencies fail
34+
35+
- name: Run tests
36+
run: raco test .

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ compiled/
66
/doc/
77
scribblings/*
88
!scribblings/*.scrbl
9+
*.kate-swp

0 commit comments

Comments
 (0)