Add Other accepted value #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: testing on pull request | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
prometheus: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
adapter: ["snowflake"] | |
version: ["1.6.1"] | |
container: | |
image: "ghcr.io/dbt-labs/dbt-${{ matrix.adapter }}:${{ matrix.version }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install additional deps | |
run: | | |
pip install "dbt-metricflow[${{ matrix.adapter }}]" | |
- name: Run integration test | |
run: | | |
chmod +x run_test.sh | |
dbtversion=${{ matrix.version }} | |
cp -fr ./integration_tests/packages_${dbtversion%.*}.yml ./integration_tests/packages.yml | |
./run_test.sh ${{ matrix.adapter }} | |
env: | |
DBT_SNOWFLAKE_TEST_ACCOUNT: ${{ secrets.DBT_SNOWFLAKE_TEST_ACCOUNT }} | |
DBT_SNOWFLAKE_TEST_USER: ${{ secrets.DBT_SNOWFLAKE_TEST_USER }} | |
DBT_ENV_SECRET_SNOWFLAKE_TEST_PASSWORD: ${{ secrets.DBT_ENV_SECRET_SNOWFLAKE_TEST_PASSWORD }} | |
DBT_SNOWFLAKE_TEST_ROLE: ${{ secrets.DBT_SNOWFLAKE_TEST_ROLE }} | |
DBT_SNOWFLAKE_TEST_DATABASE: ${{ secrets.DBT_SNOWFLAKE_TEST_DATABASE }} | |
DBT_SNOWFLAKE_TEST_WAREHOUSE: ${{ secrets.DBT_SNOWFLAKE_TEST_WAREHOUSE }} | |
DBT_SCHEMA: PRCI_${{ matrix.version }}_${{ github.sha }} | |
poseidon: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
matrix: | |
adapter: ["bigquery"] | |
version: ["1.6.3"] | |
container: | |
image: "ghcr.io/dbt-labs/dbt-${{ matrix.adapter }}:${{ matrix.version }}" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install additional deps | |
run: | | |
pip install "dbt-metricflow[${{ matrix.adapter }}]" | |
- name: Set up credentials | |
run: | | |
echo $DBT_ENV_SECRET_BIGQUERY_SERVICE_KEY_JSON | base64 -d > /opt/bigquery_service_key.json | |
env: | |
DBT_ENV_SECRET_BIGQUERY_SERVICE_KEY_JSON: ${{ secrets.DBT_ENV_SECRET_BIGQUERY_SERVICE_KEY_JSON }} | |
- name: Run integration test | |
run: | | |
chmod +x run_test.sh | |
dbtversion=${{ matrix.version }} | |
cp -fr ./integration_tests/packages_${dbtversion%.*}.yml ./integration_tests/packages.yml | |
./run_test.sh ${{ matrix.adapter }} | |
env: | |
DBT_ENV_SECRET_BIGQUERY_SERVICE_KEY_PATH: /opt/bigquery_service_key.json | |
DBT_BIGQUERY_TEST_DATABASE: ${{ secrets.DBT_BIGQUERY_TEST_DATABASE }} | |
DBT_SCHEMA: PRCI_DQTOOLS_${{ matrix.version }}_${{ github.sha }} |