This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 83ababc368 Skip instalation of provider sdist packages when provider
tests skipped (#31827)
83ababc368 is described below
commit 83ababc36894de662eb462a2f9e6bdf144b794a6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 10 01:04:27 2023 +0200
Skip instalation of provider sdist packages when provider tests skipped
(#31827)
The job was supposed to be skipped when provider tests were not run. But
it was not.
---
.github/workflows/ci.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5671422022..285787798d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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/*"