Skip to content

Commit

Permalink
Integration tests: use more descriptive matrix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Apr 5, 2024
1 parent 80abf2b commit 75b0a0d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
fail-fast: false
matrix:
database:
- name: mysql
pretty_name: MySQL
- name: pgsql
pretty_name: PostgreSQL
- name: MySQL
type: mysql
- name: PostgreSQL
type: pgsql

name: ${{ matrix.database.pretty_name }}
name: ${{ matrix.database.name }}
runs-on: ubuntu-latest

steps:
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Run Integration Tests
run: ./icingadb-test -icingatesting.debuglog debug.log -test.v
env:
ICINGADB_TESTS_DATABASE_TYPE: ${{ matrix.database.name }}
ICINGADB_TESTS_DATABASE_TYPE: ${{ matrix.database.type }}
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 All @@ -51,6 +51,6 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.database.name }}-debug.log.xz
name: ${{ matrix.database.type }}-debug.log.xz
path: debug.log.xz
retention-days: 1

0 comments on commit 75b0a0d

Please sign in to comment.