From 55f0e41fd070f2458113b26b9eb0f29e155a09e0 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 623b674d9..b5a36c2e6 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -17,8 +17,13 @@ jobs: database: - name: MySQL type: mysql + image: mysql:latest + - name: MariaDB + type: mysql + image: mariadb:latest - name: PostgreSQL type: pgsql + image: postgres:latest name: ${{ matrix.database.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.type }} + 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