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 committed Apr 5, 2024
1 parent 75b0a0d commit 55f0e41
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
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
Expand All @@ -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
Expand Down

0 comments on commit 55f0e41

Please sign in to comment.