-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
34 lines (31 loc) · 1019 Bytes
/
action.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
name: 'Test Common Lisp System'
inputs:
asdf-system:
description: 'ASDF system to install and test'
required: true
run-tests:
description: A Lisp code to run tests.
required: false
coveralls-token:
description: Set this token to upload code coverage results to Coveralls
required: false
runs:
using: composite
steps:
- name: Install cl-coveralls
shell: lispsh -eo pipefail {0}
run: |
echo '::group::Installing cl-coveralls'
# Until this pull merged:
# https://github.com/fukamachi/cl-coveralls/pull/13
# we have to install from the branch "github-actions"
qlot exec ros install svetlyak40wt/cl-coveralls/github-actions
echo '::endgroup::'
- name: Run Tests
shell: lispsh -eo pipefail {0}
run: |
qlot exec ${{ github.action_path }}/run-tests.ros ${{ inputs.asdf-system }} <<EOF
${{ inputs.run-tests }}
EOF
env:
COVERALLS_REPO_TOKEN: "${{ inputs.coveralls-token }}"