mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-25 16:15:35 +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 .
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
PYTEST_PARAMS: --maxfail=5 --durations=10 --suppress-no-test-exit-code
|
||||
run: |
|
||||
pytest ${{ env.PYTEST_PARAMS }} rest_api/
|
||||
|
||||
- uses: act10ns/slack@v2
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
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