Skip to content

Commit

Permalink
Skip instalation of provider sdist packages when provider tests skipp…
Browse files Browse the repository at this point in the history
…ed (#31827)

The job was supposed to be skipped when provider tests were not run. But
it was not.

(cherry picked from commit 83ababc)
  • Loading branch information
potiuk committed Jun 9, 2023
1 parent 8ba85ba commit 550076b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,9 @@ jobs:
RUNS_ON: "${{needs.build-info.outputs.runs-on}}"
PYTHON_MAJOR_MINOR_VERSION: "${{needs.build-info.outputs.default-python-version}}"
USE_AIRFLOW_VERSION: "sdist"
if: needs.build-info.outputs.canary-run == 'true'
if: >
needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.skip-provider-tests != 'true'
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm -rf /workspace/*"
Expand Down

0 comments on commit 550076b

Please sign in to comment.