Skip to content

Commit

Permalink
Integration tests: include MariaDB as well
Browse files Browse the repository at this point in the history
just to be sure we're compatible with this RDBMS and not only MySQL.
  • Loading branch information
Al2Klimov authored Apr 5, 2024
1 parent 80abf2b commit 9a88abc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9a88abc

Please sign in to comment.