-
-
Notifications
You must be signed in to change notification settings - Fork 30
75 lines (66 loc) · 1.61 KB
/
pandora-ci.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: pandora-ci
on:
push:
branches:
- "godot-4.x"
paths-ignore:
- "**.jpg"
- "**.png"
- "**.svg"
- "**.md"
- "**plugin.cfg"
pull_request:
paths-ignore:
- "**.jpg"
- "**.png"
- "**.svg"
- "**.md"
- "**plugin.cfg"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
actions: write
checks: write
contents: write
pull-requests: write
statuses: write
strategy:
fail-fast: false
max-parallel: 10
matrix:
godot-version: ["4.2.2", "4.3"]
name: "🤖 CI on Godot ${{ matrix.godot-version }}"
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set Runner Tracking ID to prevent orphan processes
run: |
export RUNNER_TRACKING_ID=""
- name: Run GDUnit4 tests
uses: MikeSchulze/[email protected]
with:
godot-version: ${{ matrix.godot-version }}
godot-status: "stable"
timeout: 3
paths: "res://test"
version: "installed"
publish-report: false
report-name: report_Godot${{ matrix.godot-version }}_unit-tests
finalize:
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
name: "Final Results"
needs: [unit-tests]
steps:
- run: exit 1
if: >-
${{
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
}}