Skip to content

Commit

Permalink
Testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Mar 23, 2024
1 parent 65998e8 commit cce6b13
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/internal-archive-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,19 @@ jobs:
runs-on: ubuntu-latest
needs: [env-var-setup, run-unit-tests, run-integration-tests, run-integration-tests-hatch]
# Build artifact if
# 1. All succeed
# 2. Spark invoked (it runs tests via its in-repo workflow)
# 3. Integration tests passed at least via one job above
if: |
(needs.env-var-setup.outputs.is_spark_build == 'true') ||
(needs.run-integration-tests.result == 'success' || needs.run-integration-tests-hatch.result == 'success')
# 1. Spark invoked (it runs tests via its in-repo workflow)
# 2. Integration tests passed at least via one job above
# if: |
# (needs.env-var-setup.outputs.is_spark_build == 'true') ||
# (needs.run-integration-tests.result == 'success' || needs.run-integration-tests-hatch.result == 'success')

steps:
- name: Debug output
run: |
echo "is_spark_build: ${{ needs.env-var-setup.outputs.is_spark_build }}"
echo "run-integration-tests result: ${{ needs.run-integration-tests.result }}"
echo "run-integration-tests-hatch result: ${{ needs.run-integration-tests-hatch.result }}"
- name: "Checkout provided sha, default to branch main"
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -359,4 +364,4 @@ jobs:
version_file="$(echo "dbt/adapters/${{ inputs.dbms_name }}/__version__.py")"
version="$(grep 'version =' "${version_file}" | cut -d '"' -f2)"
message="-- Success -- released ${version}"
echo "::notice $title::$message"
echo "::notice $NOTIFICATION_PREFIX::$message"

0 comments on commit cce6b13

Please sign in to comment.