Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Sep 19, 2024
1 parent 1aa8550 commit 9f73bcf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ jobs:
# we need to pre-install the CLI to set the context
curl -sSL https://install.astronomer.io | sudo bash -s
echo "test_start_time=$(date -u)" >> $GITHUB_OUTPUT
test_start_time=$(date -u +"%Y-%m-%dT%H:%M:%S.%NZ")
echo "test_start_time=$test_start_time" >> $GITHUB_OUTPUT
- name: Set CLI context
run: astro context switch ${{ steps.get-astro-env-info.outputs.astronomer_host }}
Expand Down Expand Up @@ -611,7 +612,8 @@ jobs:
fi
updated_at=$(date -u -d "${{ steps.get-dbt-bundle-info.outputs.updated_at }}" +"%s.%N")
if [[ $(echo "$updated_at > ${{ steps.setup.outputs.test_start_time }}" | bc -l) ]]; then
test_start_time=$(date -u -d "${{ steps.setup.outputs.test_start_time }}" +"%s.%N")
if [[ $(echo "$updated_at > $test_start_time" | bc -l) ]]; then
echo "DBT Deploy Action validation succeeded: DBT bundle found"
exit 0
fi
Expand Down Expand Up @@ -657,7 +659,8 @@ jobs:
# we need to pre-install the CLI to set the context
curl -sSL https://install.astronomer.io | sudo bash -s
echo "test_start_time=$(date -u)" >> $GITHUB_OUTPUT
test_start_time=$(date -u +"%Y-%m-%dT%H:%M:%S.%NZ")
echo "test_start_time=$test_start_time" >> $GITHUB_OUTPUT
- name: Set CLI context
run: astro context switch ${{ steps.get-astro-env-info.outputs.astronomer_host }}
Expand Down Expand Up @@ -818,7 +821,8 @@ jobs:
fi
updated_at=$(date -u -d "${{ steps.get-dbt-bundle-info.outputs.updated_at }}" +"%s.%N")
if [[ $(echo "$updated_at > ${{ steps.setup.outputs.test_start_time }}" | bc -l) ]]; then
test_start_time=$(date -u -d "${{ steps.setup.outputs.test_start_time }}" +"%s.%N")
if [[ $(echo "$updated_at > $test_start_time" | bc -l) ]]; then
echo "DBT Deploy Action validation succeeded: DBT bundle found"
exit 0
fi
Expand Down

0 comments on commit 9f73bcf

Please sign in to comment.