Skip to content

Commit 0e5a321

Browse files
committed
Try if adding hatch shell fixes the test issue
1 parent e5382d9 commit 0e5a321

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,15 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

35-
- name: Install Dependencies
36-
run: pip install --upgrade . pytest pytest-cov
35+
- name: Install Hatch
36+
run: pip install --upgrade hatch
37+
38+
- name: Activate environment
39+
run: hatch shell
40+
41+
- name: Run static analysis
42+
run: hatch fmt --check
3743

3844
- name: Run tests
39-
run: pytest --cov --cov-report=term-missing --tb=short
45+
run: hatch test --python ${{ matrix.python-version }} --cover --randomize --parallel --retries 2 --retry-delay 1
46+

0 commit comments

Comments
 (0)