Skip to content

Commit 58c1b64

Browse files
committed
Fix CI workflow for our fork
Signed-off-by: hpfref <hannes.j.pohnke@gmail.com>
1 parent d989fde commit 58c1b64

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

.github/workflows/develop.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ name: "Develop"
1616

1717
on:
1818
# Trigger the workflow on push to develop
19-
push:
20-
branches:
21-
- develop
19+
#push:
20+
# branches:
21+
# - develop
22+
23+
# Disabled automatic trigger - use fork_develop.yml for CI in fork
24+
workflow_dispatch:
2225

2326
jobs:
2427
job_run_unit_tests_previous_versions:

.github/workflows/fork_develop.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2022 RTDIP
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: "Fork Develop - Lint and Test"
16+
17+
on:
18+
# Trigger the workflow on push to develop
19+
push:
20+
branches:
21+
- develop
22+
# Also allow manual trigger
23+
workflow_dispatch:
24+
25+
jobs:
26+
# Run linting and tests using the upstream workflow
27+
# This includes:
28+
# - Black code formatting check (linting)
29+
# - Unit tests across multiple Python versions (3.9-3.12)
30+
# - Unit tests across multiple PySpark versions (3.3.0-3.5.1)
31+
# - Documentation build test
32+
job_lint_and_test:
33+
uses: rtdip/core/.github/workflows/test.yml@develop

0 commit comments

Comments
 (0)