mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-26 16:46:58 +00:00
Add missing env vars in rest_api CI tests (#4098)
This commit is contained in:
parent
01d39df863
commit
c66f855caf
6
.github/workflows/rest_api_tests.yml
vendored
6
.github/workflows/rest_api_tests.yml
vendored
@ -81,11 +81,15 @@ jobs:
|
|||||||
pip install .
|
pip install .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
PYTEST_PARAMS: --maxfail=5 --durations=10 --suppress-no-test-exit-code
|
||||||
run: |
|
run: |
|
||||||
pytest ${{ env.PYTEST_PARAMS }} rest_api/
|
pytest ${{ env.PYTEST_PARAMS }} rest_api/
|
||||||
|
|
||||||
- uses: act10ns/slack@v2
|
- uses: act10ns/slack@v2
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
with:
|
with:
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
channel: "#haystack"
|
channel: "#haystack"
|
||||||
if: failure() && github.repository_owner == 'deepset-ai' && github.ref == 'refs/heads/main'
|
if: failure() && github.ref == 'refs/heads/main'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user