Skip to content

Commit 583284c

Browse files
committed
more fixes
1 parent 8e50aa5 commit 583284c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ jobs:
5858

5959
- if: matrix.python-version == '3.12' && runner.os == 'Linux'
6060
name: Run tests with coverage tracking
61-
run: hatch run +py=${{ matrix.python-version }} test:cov --cdist-group=${{ matrix.cdist-group }}/4
61+
run: hatch run +py=${{ matrix.python-version }} test:cov --cdist-group=${{ matrix.cdist-group }}/4 --cdist-justify-items=file
6262

6363
- if: matrix.python-version != '3.12' || runner.os != 'Linux'
6464
name: Run tests without tracking coverage
65-
run: hatch run +py=${{ matrix.python-version }} test:no-cov --cdist-group=${{ matrix.cdist-group }}/4
65+
run: hatch run +py=${{ matrix.python-version }} test:no-cov --cdist-group=${{ matrix.cdist-group }}/4 --cdist-justify-items=file
6666

6767
- if: matrix.python-version == '3.12' && runner.os == 'Linux'
6868
uses: actions/upload-artifact@v4

src/pytest_databases/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ def get_xdist_worker_num() -> int | None:
3434

3535

3636
def get_xdist_worker_count() -> int:
37-
return int(os.getenv("PYTEST_XDIST_WORKER_COUNT", 0))
37+
return int(os.getenv("PYTEST_XDIST_WORKER_COUNT", "0"))

0 commit comments

Comments
 (0)