Skip to content

Commit 283cc2b

Browse files
committed
tests: Adjusting github actions
1 parent 0c3514f commit 283cc2b

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/gut.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: GUT
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- main
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
GUT_Tests:
14+
# The type of runner that the job will run on
15+
runs-on: ubuntu-latest
16+
17+
# Steps represent a sequence of tasks that will be executed as part of the job
18+
steps:
19+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20+
- uses: actions/checkout@v3
21+
- name: Check out personal godot-tester repository
22+
uses: actions/checkout@v3
23+
with:
24+
repository: db0/godot-tester
25+
path: ./.github/actions/godot-tester
26+
# Runs a single command using the runners shell
27+
- name: Godot Tester
28+
uses: ./.github/actions/godot-tester
29+
with:
30+
version: 3.4.4
31+
# should be long enough for asset import files to get generated
32+
import-time: 10
33+
assert-check: true
34+
max-fails: 0
35+
# How long the test should be run before it's timed out and fails
36+
test-timeout: 900
37+
# Directory containing Gut tests
38+
direct-scene: tests/cli/tests.tscn

0 commit comments

Comments
 (0)