-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (56 loc) · 1.81 KB
/
test-everything.yml
File metadata and controls
59 lines (56 loc) · 1.81 KB
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
name: Test - Everything
on:
workflow_call:
inputs:
override-cache:
description: 'Override Cache?'
required: true
default: false
type: boolean
kotlin-version:
description: 'Override Kotlin version?'
required: false
default: ''
type: string
testballoon-version:
description: 'Override TestBalloon version (full version string)?'
required: false
default: ''
type: string
matrix-file-name:
description: 'Json File containing arbitrary strategy-matrix'
required: true
type: string
test-matrix-runner:
description: 'Name of target runner to parse test matrix; defaults to ubuntu-latest'
required: false
type: string
default: 'ubuntu-latest'
setup-xcode:
description: "Setup XCode version"
type: boolean
required: false
default: false
jobs:
prepare-matrix:
name: Prepare test matrix
uses: a-sit-plus/internal-workflows/.github/workflows/prepare-matrix.yml@v2
with:
file-name: ${{ inputs.matrix-file-name }}
runner: ${{ inputs.test-matrix-runner }}
run-tests:
name: Run tests - ${{ matrix.name }} on ${{ matrix.os }}
needs: prepare-matrix
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
uses: a-sit-plus/internal-workflows/.github/workflows/test-matrix-entry.yml@v2
with:
override-cache: ${{ inputs.override-cache }}
os: ${{ matrix.os }}
name: ${{ matrix.name }}
testCommand: ${{ matrix.testCommand }}
enable-kvm: ${{ matrix.enableKvm || false }}
kotlin-version: ${{ inputs.kotlin-version }}
testballoon-version: ${{ inputs.testballoon-version }}
setup-xcode: ${{ inputs.setup-xcode }}