Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Commit b13b869

Browse files
authored
fix: needs succes all test before pushing to pypi prelease (#1388)
Signed-off-by: samsja <[email protected]>
1 parent b2586e8 commit b13b869

2 files changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/cd.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@ on:
55
branches:
66
- main
77

8-
98
jobs:
9+
success-all-test:
10+
uses: ./.github/workflows/ci.yml
1011
prerelease:
11-
needs: [docarray-test, docarray-oldproto-test]
12+
needs: [success-all-test]
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/[email protected]
1516
with:
1617
fetch-depth: 100
1718
- name: Pre-release (.devN)
1819
run: |
20+
echo "hello"
1921
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2022
pip install twine wheel
2123
./scripts/release.sh
@@ -46,8 +48,8 @@ jobs:
4648
run: |
4749
echo "readme_changed=true" >> $GITHUB_OUTPUT
4850
49-
publish-docarray-org:
50-
needs: check-readme-modification
51-
if: needs.check-readme-modification.outputs.readme_changed == 'true'
52-
uses: ./.github/workflows/publish-docarray-org.yml
53-
secrets: inherit
51+
# publish-docarray-org:
52+
# needs: check-readme-modification
53+
# if: needs.check-readme-modification.outputs.readme_changed == 'true'
54+
# uses: ./.github/workflows/publish-docarray-org.yml
55+
# secrets: inherit

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: CI
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
- feat-rewrite-v2
4+
workflow_call:
5+
inputs:
6+
config-path:
7+
type: string
88
pull_request:
99
types: [opened, synchronize, reopened]
10+
11+
1012
jobs:
1113

1214
lint-ruff:

0 commit comments

Comments
 (0)