-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (32 loc) · 890 Bytes
/
example.yml
File metadata and controls
36 lines (32 loc) · 890 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
35
36
name: Tusk Test Runner
on:
workflow_dispatch:
inputs:
runId:
description: "Tusk Run ID"
required: true
tuskUrl:
description: "Tusk server URL"
required: true
commitSha:
description: "Commit SHA to checkout"
required: true
jobs:
test-action:
name: Tusk Test Runner
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Start runner
id: test-action
uses: ./
with:
runId: ${{ github.event.inputs.runId }}
tuskUrl: ${{ github.event.inputs.tuskUrl }}
commitSha: ${{ github.event.inputs.commitSha }}
authToken: ${{ secrets.TUSK_AUTH_TOKEN }}
testFramework: "pytest"
testFileRegex: "^tests/.*(test_.*|.*_test).py$"
testScript: "pytest {{file}}"