File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 16
16
matrix :
17
17
database :
18
18
- name : MySQL
19
- type : mysql
19
+ type : MYSQL
20
+ image : mysql:latest
21
+ - name : MariaDB
22
+ type : MYSQL
23
+ image : mariadb:latest
20
24
- name : PostgreSQL
21
- type : pgsql
25
+ type : PGSQL
26
+ image : postgres:latest
22
27
23
28
name : ${{ matrix.database.name }}
24
29
runs-on : ubuntu-latest
41
46
run : ./icingadb-test -icingatesting.debuglog debug.log -test.v
42
47
env :
43
48
ICINGADB_TESTS_DATABASE_TYPE : ${{ matrix.database.type }}
49
+ ICINGA_TESTING_${{ matrix.database.type }}_IMAGE : ${{ matrix.database.image }}
44
50
ICINGA_TESTING_ICINGADB_BINARY : ${{ github.workspace }}/icingadb
45
51
ICINGA_TESTING_ICINGADB_SCHEMA_MYSQL : ${{ github.workspace }}/schema/mysql/schema.sql
46
52
ICINGA_TESTING_ICINGADB_SCHEMA_PGSQL : ${{ github.workspace }}/schema/pgsql/schema.sql
51
57
if : ${{ always() }}
52
58
uses : actions/upload-artifact@v4
53
59
with :
54
- name : ${{ matrix.database.type }}-debug.log.xz
60
+ name : ${{ matrix.database.name }}-debug.log.xz
55
61
path : debug.log.xz
56
62
retention-days : 1
You can’t perform that action at this time.
0 commit comments