Skip to content

Commit c0a626d

Browse files
committed
added ifs to JS/Python test jobs
1 parent 7f9394a commit c0a626d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ jobs:
2424
js-sdk:
2525
uses: ./.github/workflows/js_tests.yml
2626
needs: build-template
27+
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
2728
secrets:
2829
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
2930
E2B_DOMAIN: ${{ secrets.E2B_DOMAIN }}
3031
E2B_TEMPLATE: ${{ secrets.E2B_TEMPLATE }}
3132
python-sdk:
3233
uses: ./.github/workflows/python_tests.yml
3334
needs: build-template
35+
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
3436
secrets:
3537
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
3638
E2B_DOMAIN: ${{ secrets.E2B_DOMAIN }}

0 commit comments

Comments
 (0)