@@ -54,16 +54,18 @@ jobs:
5454 - name : Install Hatch
5555 run : pip install --upgrade hatch
5656
57+ # TODO: Once this integration is properly typed, use hatch run test:types
58+ # https://github.com/deepset-ai/haystack-core-integrations/issues/1771
5759 - name : Lint
5860 if : matrix.python-version == '3.9' && runner.os == 'Linux'
59- run : hatch run lint:all
61+ run : hatch run fmt-check && hatch run lint:typing
6062
6163 - name : Generate docs
6264 if : matrix.python-version == '3.9' && runner.os == 'Linux'
6365 run : hatch run docs
6466
6567 - name : Run unit tests
66- run : hatch run cov-retry -m "not integration"
68+ run : hatch run test:unit
6769
6870 # Do not authenticate on pull requests from forks
6971 - name : AWS authentication
@@ -76,20 +78,20 @@ jobs:
7678
7779 - name : Run integration tests
7880 if : success() && steps.aws-auth.outcome == 'success'
79- run : hatch run cov-retry -m "integration"
81+ run : hatch run test: cov-retry -m "integration"
8082
8183 - name : Run unit tests with lowest direct dependencies
8284 run : |
8385 hatch run uv pip compile pyproject.toml --resolution lowest-direct --output-file requirements_lowest_direct.txt
8486 hatch run uv pip install -r requirements_lowest_direct.txt
85- hatch run test -m "not integration"
87+ hatch run test:unit
8688
8789 - name : Nightly - run unit tests with Haystack main branch
8890 if : github.event_name == 'schedule'
8991 run : |
9092 hatch env prune
9193 hatch run uv pip install git+https://github.com/deepset-ai/haystack.git@main
92- hatch run cov-retry -m "not integration"
94+ hatch run test:unit
9395
9496 - name : Send event to Datadog for nightly failures
9597 if : failure() && github.event_name == 'schedule'
0 commit comments