Skip to content

[testing] Er/testing action #17

[testing] Er/testing action

[testing] Er/testing action #17

Workflow file for this run

# **what?**
# Run tests for dbt-codegen against supported adapters
# **why?**
# To ensure that dbt-codegen works as expected with all supported adapters
# **when?**
# On every PR, and every push to main and when manually triggered
name: Package Integration Tests
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
POSTGRES_HOST: "localhost"
POSTGRES_USER: "root"
DBT_ENV_SECRET_POSTGRES_PASS: "public_password"
POSTGRES_PORT: "5432"
POSTGRES_DATABASE: "postgres_test"
POSTGRES_SCHEMA: "dbt_codegen_integration_tests_postgres_${{ github.run_number }}"
jobs:
run-tests:
uses: emmyoop/package-testing/.github/workflows/tox_tests.yml@main
with:
POSTGRES_SCHEMA: ${{ env.POSTGRES_SCHEMA }}

Check failure on line 31 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Package Integration Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 31, Col: 26): Unrecognized named-value: 'env'. Located at position 1 within expression: env.POSTGRES_SCHEMA .github/workflows/ci.yml (Line: 32, Col: 24): Unrecognized named-value: 'env'. Located at position 1 within expression: env.POSTGRES_HOST
POSTGRES_HOST: ${{ env.POSTGRES_HOST }}
POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_PORT: ${{ env.POSTGRES_PORT }}
POSTGRES_DATABASE: ${{ env.POSTGRES_DATABASE }}
secrets:
DBT_ENV_SECRET_POSTGRES_PASS: ${{ env.DBT_ENV_SECRET_POSTGRES_PASS }}