Skip to content

Commit

Permalink
Don't use env var for adapter->version map
Browse files Browse the repository at this point in the history
  • Loading branch information
mwallace582 committed Jan 7, 2024
1 parent b02e154 commit 875358b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,10 @@ jobs:
TOXENV: integration-${{ matrix.adapter }}
PYTEST_ADDOPTS: "-v --color=yes -n4 --csv integration_results.csv"
DBT_INVOCATION_ENV: github-actions
MYSQL_IMAGE_MAP: '{"mysql5": "mysql:5.7", "mysql": "mysql:8.0", "mariadb": "mariadb:10.5"}'

services:
database:
image: ${{fromJson(env.MYSQL_IMAGE_MAP)[matrix.adapter]}}
image: ${{ fromJson( '{"mysql5": "mysql:5.7", "mysql": "mysql:8.0", "mariadb": "mariadb:10.5"}' )[matrix.adapter] }}
env:
MYSQL_ROOT_PASSWORD: dbt
ports:
Expand Down

0 comments on commit 875358b

Please sign in to comment.