Skip to content

Commit 32dc47b

Browse files
committed
Integration tests: include MariaDB as well
just to be sure we're compatible with this RDBMS and not only MySQL.
1 parent 66a5d6d commit 32dc47b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/integration-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ jobs:
1616
matrix:
1717
database:
1818
- name: MySQL
19-
type: mysql
19+
type: MYSQL
20+
image: mysql:latest
21+
- name: MariaDB
22+
type: MYSQL
23+
image: mariadb:latest
2024
- name: PostgreSQL
21-
type: pgsql
25+
type: PGSQL
26+
image: postgres:latest
2227

2328
name: ${{ matrix.database.name }}
2429
runs-on: ubuntu-latest
@@ -41,6 +46,7 @@ jobs:
4146
run: ./icingadb-test -icingatesting.debuglog debug.log -test.v
4247
env:
4348
ICINGADB_TESTS_DATABASE_TYPE: ${{ matrix.database.type }}
49+
ICINGA_TESTING_${{ matrix.database.type }}_IMAGE: ${{ matrix.database.image }}
4450
ICINGA_TESTING_ICINGADB_BINARY: ${{ github.workspace }}/icingadb
4551
ICINGA_TESTING_ICINGADB_SCHEMA_MYSQL: ${{ github.workspace }}/schema/mysql/schema.sql
4652
ICINGA_TESTING_ICINGADB_SCHEMA_PGSQL: ${{ github.workspace }}/schema/pgsql/schema.sql
@@ -51,6 +57,6 @@ jobs:
5157
if: ${{ always() }}
5258
uses: actions/upload-artifact@v4
5359
with:
54-
name: ${{ matrix.database.type }}-debug.log.xz
60+
name: ${{ matrix.database.name }}-debug.log.xz
5561
path: debug.log.xz
5662
retention-days: 1

0 commit comments

Comments
 (0)