Add missing env vars in rest_api CI tests (#4098)

This commit is contained in:
Silvano Cerza 2023-02-08 12:48:20 +01:00 committed by GitHub
parent 01d39df863
commit c66f855caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'