Skip to content

Commit 4c17529

Browse files
committed
Run some checks if build failed
1 parent 5f80942 commit 4c17529

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/code-checks.yml

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656

5757
- name: Build Pandas
5858
uses: ./.github/actions/build-pandas
59+
id: build
60+
continue-on-error: true
5961

6062
- name: Install node.js (for pyright)
6163
uses: actions/setup-node@v2
@@ -68,12 +70,15 @@ jobs:
6870

6971
- name: Run checks on imported code
7072
run: ci/code_checks.sh code
73+
if: ${{ steps.build.outcome == 'success' }}
7174

7275
- name: Run doctests
7376
run: ci/code_checks.sh doctests
77+
if: ${{ steps.build.outcome == 'success' }}
7478

7579
- name: Run docstring validation
7680
run: ci/code_checks.sh docstrings
81+
if: ${{ steps.build.outcome == 'success' }}
7782

7883
- name: Run typing validation
7984
run: ci/code_checks.sh typing

0 commit comments

Comments
 (0)