Skip to content

Commit 01d14bd

Browse files
Add pytest-retry
1 parent aad6076 commit 01d14bd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/_test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ jobs:
3333
python-version: ${{ inputs.python-version }}
3434

3535
- name: Install dependencies
36-
run: |
37-
python -m pip install --user --upgrade pip
36+
run: python -m pip install --user --upgrade pip
3837

3938
- name: Install package
4039
run: python -m pip install --user ".[dev,test]"
4140

4241
- name: Run unit tests
43-
run: pytest -vv tests
42+
run: pytest -vv --retries 1 tests

.github/workflows/cicd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os: [ubuntu-latest, macos-latest, windows-latest]
44-
python-version: ["3.9", "3.10", "3.11", "3.12"]
44+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4545
with:
4646
os: ${{ matrix.os }}
4747
python-version: ${{ matrix.python-version }}
@@ -65,7 +65,7 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
os: [ubuntu-latest, windows-latest]
68-
python-version: ["3.9", "3.10", "3.11", "3.12"]
68+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6969
with:
7070
os: ${{ matrix.os }}
7171
python-version: ${{ matrix.python-version }}

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@ dev = [
9999
# linting
100100
"pylint",
101101
"flake8",
102-
"ruff==0.3.5",
102+
"ruff",
103103
# typing
104104
"mypy",
105105
]
106106
test = [
107107
# testing
108108
"pytest",
109109
"pytest-cov",
110+
"pytest-retry",
110111
"zarr",
111112
"dask[distributed]",
112113
"scikit-learn",

0 commit comments

Comments
 (0)