Skip to content

Commit

Permalink
Rerun tests only in CI (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Dec 5, 2024
1 parent 5da9a01 commit 55e235d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-kr8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Run tests
env:
KUBERNETES_VERSION: ${{ matrix.kubernetes-version }}
run: hatch run test:run
run: hatch run test:ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ features = ["test"]
[tool.hatch.envs.test.scripts]
default = "pytest kr8s"
run = "pytest kr8s"
ci = "pytest kr8s --reruns=3"

[tool.hatch.envs.docs]
features = ["docs"]
Expand Down

0 comments on commit 55e235d

Please sign in to comment.