diff --git a/.github/workflows/test-kr8s.yaml b/.github/workflows/test-kr8s.yaml index ce8f4ad..72a33b7 100644 --- a/.github/workflows/test-kr8s.yaml +++ b/.github/workflows/test-kr8s.yaml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 814ef70..632d964 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]