Skip to content

Commit

Permalink
pytest now fails under 50
Browse files Browse the repository at this point in the history
Signed-off-by: Zhiyuan Chen <[email protected]>
  • Loading branch information
ZhiyuanChen committed May 2, 2024
1 parent e033f8f commit 7acc73d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
environment: test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -45,7 +46,6 @@ jobs:
release:
if: startsWith(github.event.ref, 'refs/tags/v')
needs: [lint, test]
environment: pypi
permissions:
contents: write
id-token: write
Expand All @@ -72,7 +72,8 @@ jobs:
develop:
if: contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref)
needs: [lint, test]
environment: pypi
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ output = "coverage.json"

[tool.coverage.report]
show_missing = true
fail_under = 80
fail_under = 50

[tool.mypy]
ignore_missing_imports = true

0 comments on commit 7acc73d

Please sign in to comment.