-
-
Notifications
You must be signed in to change notification settings - Fork 157
39 lines (33 loc) · 953 Bytes
/
test.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: test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
path: main
- name: Checkout test runner
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
repository: exercism/clojure-test-runner
path: clojure-test-runner
- name: setup babashka
uses: turtlequeue/setup-babashka@2d4df498c7a578b4f3e906283f9af913590bdec7
with:
babashka-version: 0.8.1
- name: babashka script
id: bb_script
run: bb main/test.clj
# Print the output of the babashka script from the
# `bb_script` step
- name: Get the script output
run: echo "${{ steps.bb_script.outputs.bb_out }}"