Skip to content

Commit 9a88abc

Browse files
authored
Integration tests: include MariaDB as well
just to be sure we're compatible with this RDBMS and not only MySQL.
1 parent 80abf2b commit 9a88abc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ jobs:
1717
database:
1818
- name: mysql
1919
pretty_name: MySQL
20+
image: mysql:latest
21+
- name: mysql
22+
pretty_name: MariaDB
23+
image: mariadb:latest
2024
- name: pgsql
2125
pretty_name: PostgreSQL
26+
image: postgres:latest
2227

2328
name: ${{ matrix.database.pretty_name }}
2429
runs-on: ubuntu-latest
@@ -41,6 +46,8 @@ jobs:
4146
run: ./icingadb-test -icingatesting.debuglog debug.log -test.v
4247
env:
4348
ICINGADB_TESTS_DATABASE_TYPE: ${{ matrix.database.name }}
49+
ICINGA_TESTING_MYSQL_IMAGE: ${{ matrix.database.image }}
50+
ICINGA_TESTING_PGSQL_IMAGE: ${{ matrix.database.image }}
4451
ICINGA_TESTING_ICINGADB_BINARY: ${{ github.workspace }}/icingadb
4552
ICINGA_TESTING_ICINGADB_SCHEMA_MYSQL: ${{ github.workspace }}/schema/mysql/schema.sql
4653
ICINGA_TESTING_ICINGADB_SCHEMA_PGSQL: ${{ github.workspace }}/schema/pgsql/schema.sql

0 commit comments

Comments
 (0)