-
-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (38 loc) · 984 Bytes
/
unit_tests.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
40
41
42
43
name: Unit Tests
run-name: ${{ github.head_ref || github.ref_name }}-dino-unit-tests
on:
# pull_request:
workflow_dispatch:
push:
concurrency:
group: dino-unit-tests-${{ github.event.number }}
jobs:
unit-test:
name: "GDUnit Tests"
runs-on: 'ubuntu-22.04'
timeout-minutes: 10 # The overall timeout
permissions:
actions: write
checks: write
contents: write
pull-requests: write
statuses: write
strategy:
fail-fast: false
max-parallel: 10
matrix:
godot-version: ['4.3']
godot-status: ['stable']
steps:
# checkout your repository
- uses: actions/checkout@v4
# run unit tests
- uses: MikeSchulze/gdUnit4-action@v1.0.5
with:
godot-version: ${{ matrix.godot-version }}
godot-status: ${{ matrix.godot-status }}
version: 'installed'
paths: |
res://test/
timeout: 5
upload-report: false