Skip to content

Commit 9e58eff

Browse files
committed
Update workflows to be compatible with 7.1
1 parent 96df335 commit 9e58eff

11 files changed

Lines changed: 418 additions & 39 deletions

.github/workflows/build_on_tag_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: Build DO on tag '${{ github.ref_name }}'
33
on:
44
push:
55
tags:
6-
- '7.0.*'
6+
- '7.1.*'
77

88
# new commits with the same key will cancel previously run workflows
99
#concurrency:

.github/workflows/dispatched-firebird-tests.yml

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ on:
1818
type: boolean
1919
default: true
2020
required: true
21+
firebird40:
22+
description: 'Firebird 4.0'
23+
type: boolean
24+
default: false
25+
required: true
26+
firebird50:
27+
description: 'Firebird 5.0'
28+
type: boolean
29+
default: false
30+
required: true
2131

2232
# new commits with the same key will cancel previously run workflows
2333
concurrency:
@@ -35,8 +45,8 @@ jobs:
3545
if: ${{ inputs.firebird30 }}
3646
strategy:
3747
matrix:
38-
net: [ 'netcoreapp3.1' ]
39-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
48+
net: [ 'net5.0', 'net6.0' ]
49+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
4050
with:
4151
storage: firebird30
4252
build_config: Release
@@ -48,4 +58,44 @@ jobs:
4858
run_main: true
4959
run_sql: true
5060
run_extensions: true
51-
publish_raw_results: true
61+
publish_raw_results: true
62+
63+
test_on_firebird40:
64+
name: Tests on Firebird 4.0
65+
if: ${{ inputs.firebird40 }}
66+
strategy:
67+
matrix:
68+
net: [ 'net5.0', 'net6.0' ]
69+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
70+
with:
71+
storage: firebird40
72+
build_config: Release
73+
target_framework: ${{ matrix.net }}
74+
specific_sha: ${{ inputs.specific_sha }}
75+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
76+
test_output_verbosity: minimal
77+
test_run_timeout: 40
78+
run_main: true
79+
run_sql: true
80+
run_extensions: true
81+
publish_raw_results: true
82+
83+
test_on_firebird50:
84+
name: Tests on Firebird 5.0
85+
if: ${{ inputs.firebird50 }}
86+
strategy:
87+
matrix:
88+
net: [ 'net5.0', 'net6.0' ]
89+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
90+
with:
91+
storage: firebird50
92+
build_config: Release
93+
target_framework: ${{ matrix.net }}
94+
specific_sha: ${{ inputs.specific_sha }}
95+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
96+
test_output_verbosity: minimal
97+
test_run_timeout: 40
98+
run_main: true
99+
run_sql: true
100+
run_extensions: true
101+
publish_raw_results: true

.github/workflows/dispatched-mssql-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
if: ${{ inputs.mssql2017 }}
4646
strategy:
4747
matrix:
48-
net: [ 'netcoreapp3.1' ]
49-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
48+
net: [ 'net5.0', 'net6.0' ]
49+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
5050
with:
5151
storage: mssql2017
5252
build_config: Release
@@ -65,8 +65,8 @@ jobs:
6565
if: ${{ inputs.mssql2019 }}
6666
strategy:
6767
matrix:
68-
net: [ 'netcoreapp3.1' ]
69-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
68+
net: [ 'net5.0', 'net6.0' ]
69+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
7070
with:
7171
storage: mssql2019
7272
build_config: Release
@@ -85,8 +85,8 @@ jobs:
8585
if: ${{ inputs.mssql2022 }}
8686
strategy:
8787
matrix:
88-
net: [ 'netcoreapp3.1' ]
89-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
88+
net: [ 'net5.0', 'net6.0' ]
89+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
9090
with:
9191
storage: mssql2022
9292
build_config: Release

.github/workflows/dispatched-mysql5-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
if: ${{ inputs.mysql55 }}
4646
strategy:
4747
matrix:
48-
net: [ 'netcoreapp3.1' ]
49-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
48+
net: [ 'net5.0', 'net6.0' ]
49+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
5050
with:
5151
storage: mysql55
5252
build_config: Release
@@ -65,8 +65,8 @@ jobs:
6565
if: ${{ inputs.mysql56 }}
6666
strategy:
6767
matrix:
68-
net: [ 'netcoreapp3.1' ]
69-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
68+
net: [ 'net5.0', 'net6.0' ]
69+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
7070
with:
7171
storage: mysql56
7272
build_config: Release
@@ -85,8 +85,8 @@ jobs:
8585
if: ${{ inputs.mysql57 }}
8686
strategy:
8787
matrix:
88-
net: [ 'netcoreapp3.1' ]
89-
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.0
88+
net: [ 'net5.0', 'net6.0' ]
89+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
9090
with:
9191
storage: mysql57
9292
build_config: Release
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
name: 🛠🐬 MySQL 8.x tests
2+
run-name: Run database tests on MySQL on dispatch. Run No ${{ github.run_number }}.
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
fetch_depth:
7+
description: 'Depth of repo fetch (change if SHA populated)'
8+
required: false
9+
default: 1
10+
type: number
11+
specific_sha:
12+
description: 'Commit SHA to checkout'
13+
required: false
14+
default: ''
15+
type: string
16+
mysql80:
17+
description: 'MySQL 8.0'
18+
type: boolean
19+
default: false
20+
required: true
21+
mysql81:
22+
description: 'MySQL 8.1'
23+
type: boolean
24+
default: false
25+
required: true
26+
mysql82:
27+
description: 'MySQL 8.2'
28+
type: boolean
29+
default: false
30+
required: true
31+
mysql83:
32+
description: 'MySQL 8.3'
33+
type: boolean
34+
default: false
35+
required: true
36+
mysql84:
37+
description: 'MySQL 8.4'
38+
type: boolean
39+
default: true
40+
required: true
41+
42+
# new commits with the same key will cancel previously run workflows
43+
concurrency:
44+
group: ${{ github.workflow }}-${{ github.ref }}
45+
cancel-in-progress: true
46+
47+
permissions:
48+
contents: read
49+
actions: read
50+
checks: write
51+
52+
jobs:
53+
test_on_mysql80:
54+
name: Tests on MySQL 8.0
55+
if: ${{ inputs.mysql80 }}
56+
strategy:
57+
matrix:
58+
net: [ 'net5.0', 'net6.0' ]
59+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
60+
with:
61+
storage: mysql80
62+
build_config: Release
63+
target_framework: ${{ matrix.net }}
64+
specific_sha: ${{ inputs.specific_sha }}
65+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
66+
test_output_verbosity: minimal
67+
test_run_timeout: 30
68+
run_main: true
69+
run_sql: true
70+
run_extensions: true
71+
publish_raw_results: true
72+
73+
test_on_mysql81:
74+
name: Tests on MySQL 8.1
75+
if: ${{ inputs.mysql81 }}
76+
strategy:
77+
matrix:
78+
net: [ 'net5.0', 'net6.0' ]
79+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
80+
with:
81+
storage: mysql81
82+
build_config: Release
83+
target_framework: ${{ matrix.net }}
84+
specific_sha: ${{ inputs.specific_sha }}
85+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
86+
test_output_verbosity: minimal
87+
test_run_timeout: 30
88+
run_main: true
89+
run_sql: true
90+
run_extensions: true
91+
publish_raw_results: false
92+
93+
test_on_mysql82:
94+
name: Tests on MySQL 8.2
95+
if: ${{ inputs.mysql82 }}
96+
strategy:
97+
matrix:
98+
net: [ 'net5.0', 'net6.0' ]
99+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
100+
with:
101+
storage: mysql82
102+
build_config: Release
103+
target_framework: ${{ matrix.net }}
104+
specific_sha: ${{ inputs.specific_sha }}
105+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
106+
test_output_verbosity: minimal
107+
test_run_timeout: 30
108+
run_main: true
109+
run_sql: true
110+
run_extensions: true
111+
publish_raw_results: false
112+
113+
test_on_mysql83:
114+
name: Tests on MySQL 8.3
115+
if: ${{ inputs.mysql83 }}
116+
strategy:
117+
matrix:
118+
net: [ 'net5.0', 'net6.0' ]
119+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
120+
with:
121+
storage: mysql83
122+
build_config: Release
123+
target_framework: ${{ matrix.net }}
124+
specific_sha: ${{ inputs.specific_sha }}
125+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
126+
test_output_verbosity: minimal
127+
test_run_timeout: 30
128+
run_main: true
129+
run_sql: true
130+
run_extensions: true
131+
publish_raw_results: false
132+
133+
test_on_mysql84:
134+
name: Tests on MySQL 8.4
135+
if: ${{ inputs.mysql84 }}
136+
strategy:
137+
matrix:
138+
net: [ 'net5.0', 'net6.0' ]
139+
uses: DataObjects-NET/github-workflow-playground/.github/workflows/reusable-storage-dependant-tests.yml@7.1
140+
with:
141+
storage: mysql84
142+
build_config: Release
143+
target_framework: ${{ matrix.net }}
144+
specific_sha: ${{ inputs.specific_sha }}
145+
fetch_depth: ${{ fromJSON(inputs.fetch_depth) }}
146+
test_output_verbosity: minimal
147+
test_run_timeout: 30
148+
run_main: true
149+
run_sql: true
150+
run_extensions: true
151+
publish_raw_results: false

0 commit comments

Comments
 (0)