-
-
Notifications
You must be signed in to change notification settings - Fork 159
39 lines (33 loc) · 922 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@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: main
- name: Checkout test runner
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: exercism/clojure-test-runner
path: clojure-test-runner
- name: setup babashka
uses: turtlequeue/setup-babashka@fda33428c8b62fb5bb9802ca7a2c750a6cc11b5a
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 }}"