Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Dec 10, 2024
1 parent 47eae75 commit dc8d442
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ jobs:
- name: Get branch name
id: vars
# This needs surfaced for below 'run unit tests' step which may run on specific branch only
run:
run: |
if [ "${{ github.base_ref }}" = "main" ]; then
echo "BRANCH=release" >> $GITHUB_ENV
echo "BRANCH='release'" >> $GITHUB_ENV
else
echo "BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
echo "BRANCH='${{ github.head_ref }}'" >> $GITHUB_ENV
fi
- name: Configure Docker credentials
uses: docker/login-action@v2
Expand Down Expand Up @@ -167,10 +167,13 @@ jobs:
dbt run-operation post_ci_cleanup --target ${{matrix.warehouse}}
- name: Run Unit tests
working-directory: ./unit_tests
run: ./.scripts/unit_tests.sh -d ${{matrix.warehouse}} -b ${{ env.BRANCH }}

- name: Run integration tests
working-directory: ./integration_tests
run: ./.scripts/integration_tests.sh -d ${{matrix.warehouse}}


- name: "Post-test: Drop ci schemas"
run: |
Expand Down

0 comments on commit dc8d442

Please sign in to comment.