Skip to content

Commit

Permalink
fixed up run operation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhopper-dataengineers committed Feb 15, 2024
1 parent 0410ee6 commit dd49d65
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/dbt-run-operation/action.yml
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ runs:
- name: Run DBT Operation
shell: pwsh
run: |
dbt run-operation ${{ inputs.operation-name }} --args '{{ inputs.operation-args }}' --profiles-dir=${{ inputs.profiles-directory }} --target=${{ inputs.target }} --exclude tag:unit_test
dbt run-operation ${{ inputs.operation-name }} --args '{{ inputs.operation-args }}' --profiles-dir=${{ inputs.profiles-directory }} --target=${{ inputs.target }}
working-directory: ${{ inputs.working-directory }}
env:
snowflake-account: ${{ inputs.snowflake-account }}
2 changes: 1 addition & 1 deletion tasks/dbt-run-operation/devops.yml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ steps:
- bash: |
source $DBT_ENV_NAME/bin/activate
dbt run-operation ${{ parameters.operation_name }} --args '${{ parameters.operation_args }}' --profiles-dir=${{ parameters.profiles_directory }} --target=${{ parameters.target }} --exclude tag:unit_test
dbt run-operation ${{ parameters.operation_name }} --args '${{ parameters.operation_args }}' --profiles-dir=${{ parameters.profiles_directory }} --target=${{ parameters.target }}
displayName: Run dbt with unit-tests
condition: and(succeeded(), eq('${{ parameters.target }}', 'unit-test'))
workingDirectory: ${{ parameters.working_directory }}

0 comments on commit dd49d65

Please sign in to comment.