-
Notifications
You must be signed in to change notification settings - Fork 11
31 lines (27 loc) · 940 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (27 loc) · 940 Bytes
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
name: CI
on: [push, pull_request]
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || github.actor != 'Copilot' }}
steps:
- uses: actions/checkout@master
- uses: Bogdanp/setup-racket@v1.5
with:
version: stable
- run: raco pkg install --batch --auto --link --name resyntax
- run: raco test --drdr --package resyntax
code-coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: Bogdanp/setup-racket@v1.5
with:
version: stable
- run: raco pkg install --batch --auto cover cover-coveralls
- run: raco pkg install --batch --auto --link --name resyntax
- run: raco cover --format coveralls --suppress-log-execution --package resyntax
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}