From 9a88abc4a5f5e97382bd8e75a508da6a08af6db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Aleksandrovi=C4=8D=20Klimov?= Date: Fri, 5 Apr 2024 10:30:16 +0200 Subject: [PATCH] Integration tests: include MariaDB as well just to be sure we're compatible with this RDBMS and not only MySQL. --- .github/workflows/integration-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 812b118b5..03995753f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -17,8 +17,13 @@ jobs: database: - name: mysql pretty_name: MySQL + image: mysql:latest + - name: mysql + pretty_name: MariaDB + image: mariadb:latest - name: pgsql pretty_name: PostgreSQL + image: postgres:latest name: ${{ matrix.database.pretty_name }} runs-on: ubuntu-latest @@ -41,6 +46,8 @@ jobs: run: ./icingadb-test -icingatesting.debuglog debug.log -test.v env: ICINGADB_TESTS_DATABASE_TYPE: ${{ matrix.database.name }} + ICINGA_TESTING_MYSQL_IMAGE: ${{ matrix.database.image }} + ICINGA_TESTING_PGSQL_IMAGE: ${{ matrix.database.image }} ICINGA_TESTING_ICINGADB_BINARY: ${{ github.workspace }}/icingadb ICINGA_TESTING_ICINGADB_SCHEMA_MYSQL: ${{ github.workspace }}/schema/mysql/schema.sql ICINGA_TESTING_ICINGADB_SCHEMA_PGSQL: ${{ github.workspace }}/schema/pgsql/schema.sql