1717 - " v[0-9].*[0-9].x"
1818 # when we push, we do not need to satisfy Branch Protection rules, so we can ignore PRs that just change docs
1919 paths-ignore :
20- - ' docs/**'
21- - ' docs-website/**'
20+ - " docs/**"
21+ - " docs-website/**"
2222 pull_request :
2323 types :
2424 - opened
3737
3838jobs :
3939 check-if-changed :
40- # This job checks if the relevant files have been changed.
41- # We check for changes in the check-if-changed job instead of using paths/paths-ignore at workflow level.
42- # This ensures the "Mark tests as completed" job always runs, which is required by Branch Protection rules.
40+ # This job checks if the relevant files have been changed.
41+ # We check for changes in the check-if-changed job instead of using paths/paths-ignore at workflow level.
42+ # This ensures the "Mark tests as completed" job always runs, which is required by Branch Protection rules.
4343 name : Check if changed
4444 runs-on : ubuntu-slim
4545 permissions :
@@ -224,7 +224,6 @@ jobs:
224224 pip install hatch==${{ env.HATCH_VERSION }} --uploaded-prior-to=P1D
225225 echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT"
226226
227-
228227 - name : Run
229228 run : hatch run test:integration-only-fast
230229
@@ -257,7 +256,6 @@ jobs:
257256 path : ${{ steps.hatch.outputs.env }}
258257 key : ${{ runner.os }}-${{ github.sha }}
259258
260-
261259 - name : Run
262260 run : hatch run test:integration-only-fast
263261
@@ -297,7 +295,7 @@ jobs:
297295 - integration-tests-windows
298296 runs-on : ubuntu-slim
299297 steps :
300- - uses : deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
298+ - uses : deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
301299 with :
302300 slack-webhook-url : ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}
303301
@@ -314,15 +312,15 @@ jobs:
314312 - integration-tests-windows
315313
316314 steps :
317- - name : Mark tests as completed
318- run : |
319- if [ "${{ needs.check-imports.result }}" = "failure" ] ||
320- [ "${{ needs.mypy.result }}" = "failure" ] ||
321- [ "${{ needs.integration-tests-linux.result }}" = "failure" ] ||
322- [ "${{ needs.integration-tests-macos.result }}" = "failure" ] ||
323- [ "${{ needs.integration-tests-windows.result }}" = "failure" ]; then
324- echo "Tests failed!"
325- exit 1
326- else
327- echo "Tests completed!"
328- fi
315+ - name : Mark tests as completed
316+ run : |
317+ if [ "${{ needs.check-imports.result }}" = "failure" ] ||
318+ [ "${{ needs.mypy.result }}" = "failure" ] ||
319+ [ "${{ needs.integration-tests-linux.result }}" = "failure" ] ||
320+ [ "${{ needs.integration-tests-macos.result }}" = "failure" ] ||
321+ [ "${{ needs.integration-tests-windows.result }}" = "failure" ]; then
322+ echo "Tests failed!"
323+ exit 1
324+ else
325+ echo "Tests completed!"
326+ fi
0 commit comments