Skip to content

Commit 5aa7439

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 75b0a0d commit 5aa7439

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/integration-tests.yml

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

2328
name: ${{ matrix.database.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.type }}
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
@@ -51,6 +58,6 @@ jobs:
5158
if: ${{ always() }}
5259
uses: actions/upload-artifact@v2
5360
with:
54-
name: ${{ matrix.database.type }}-debug.log.xz
61+
name: ${{ matrix.database.name }}-debug.log.xz
5562
path: debug.log.xz
5663
retention-days: 1

0 commit comments

Comments
 (0)