-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathaction.yaml
More file actions
34 lines (31 loc) · 875 Bytes
/
action.yaml
File metadata and controls
34 lines (31 loc) · 875 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
32
33
34
---
name: "run functional tests"
description: "Run specified functional test with coverage"
inputs:
testsuite:
description: name of the test suite to run
required: true
token:
description: codecov token
required: true
config:
description: path to the config file
required: false
default: "tests/config.json"
runner:
description: name to the runner script
required: false
default: run_ft_tests.bash
runs:
using: composite
steps:
- name: run ${{ inputs.testsuite }} tests
shell: bash
run: .github/scripts/${{ inputs.runner }} ft_test:${{ inputs.testsuite }}
env:
BACKBEAT_CONFIG_FILE: ${{ inputs.config }}
- uses: codecov/codecov-action@v6
with:
token: ${{ inputs.token }}
directory: ./coverage/ft_test:${{ inputs.testsuite }}
flags: ${{ inputs.testsuite }}