-
-
Notifications
You must be signed in to change notification settings - Fork 123
69 lines (62 loc) · 1.46 KB
/
beehave-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
name: beehave-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:
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"]
name: "🤖 CI on Godot ${{ matrix.godot-version }}"
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run GDUnit4 tests
uses: MikeSchulze/gdUnit4-action@v1.1.1
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')
}}