Skip to content

Commit

Permalink
merge branch main into dbt-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Sep 18, 2024
2 parents a7ad4dd + 1248bd5 commit f902443
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- dbt-deploy
- e2e-tests
workflow_dispatch:
inputs:
workspace_id:
Expand Down
13 changes: 13 additions & 0 deletions e2e-setup/mocks/git.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# hack to mock git commands as part of action.yaml so that we could simulate dags only deploy scenario without making any additional commits

# Check if the script was invoked with "git diff"
if [[ "$1" == "diff" ]]; then
echo "e2e-setup/astro-project/dags/exampledag.py"
elif [[ "$1" == "fetch" ]]; then
echo "Handling git fetch, doing nothing"
else
echo "Error: git mock script isn't configured to handle $1" >&2
exit 1
fi

0 comments on commit f902443

Please sign in to comment.