Skip to content

Commit

Permalink
include required arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-l-amaral committed Sep 28, 2023
1 parent 5f38367 commit 7658315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/table_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ def get_materialization_flow_id(backend: Backend, auth_token: str):
arg_parser.add_argument(
"--materialization-label",
type=str,
required=True,
required=False,
default="basedosdados-dev",
help="Materialization label.",
)

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_dbt_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-actions.txt
- name: Run script for syncing DBT schema
- name: Run script to test DBT model
run: |
python .github/workflows/scripts/table_test.py --modified-files ${{ steps.changed-files.outputs.all_modified_files }} --graphql-url ${{ secrets.BACKEND_GRAPHQL_URL }}
python .github/workflows/scripts/table_test.py --modified-files ${{ steps.changed-files.outputs.all_modified_files }} --graphql-url ${{ secrets.BACKEND_GRAPHQL_URL }} --prefect-backend-token ${{ secrets.PREFECT_BACKEND_TOKEN }}
- name: Commit changed files
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down

0 comments on commit 7658315

Please sign in to comment.