mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-21 19:49:49 +00:00
fix(ci): not fail when skipped (#3399)
This commit is contained in:
@@ -216,11 +216,11 @@ jobs:
|
|||||||
run: pytest tests -vv --maxfail=10
|
run: pytest tests -vv --maxfail=10
|
||||||
- name: Run end-to-end tests
|
- name: Run end-to-end tests
|
||||||
run: make test-end-to-end
|
run: make test-end-to-end
|
||||||
|
|
||||||
slack-notification:
|
slack-notification:
|
||||||
name: Slack Notification
|
name: Slack Notification
|
||||||
needs: [cpu-tests, gpu-tests]
|
needs: [cpu-tests, gpu-tests, upgrade-lock]
|
||||||
if: always()
|
if: always() && needs.upgrade-lock.outputs.changed == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -231,7 +231,7 @@ jobs:
|
|||||||
uses: huggingface/hf-workflows/.github/actions/post-slack@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
|
uses: huggingface/hf-workflows/.github/actions/post-slack@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
|
||||||
with:
|
with:
|
||||||
slack_channel: ${{ env.CI_SLACK_CHANNEL }}
|
slack_channel: ${{ env.CI_SLACK_CHANNEL }}
|
||||||
title: "Results of the latest dependency tests (CPU + GPU)"
|
title: "Results of the latest dependency tests (CPU + GPU)"
|
||||||
status: ${{ (needs.cpu-tests.result == 'success' && needs.gpu-tests.result == 'success') && 'success' || 'failure' }}
|
status: ${{ (needs.cpu-tests.result == 'success' && needs.gpu-tests.result == 'success') && 'success' || 'failure' }}
|
||||||
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
|
slack_token: ${{ secrets.SLACK_CIFEEDBACK_BOT_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user