Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

permissions:
contents: read
Expand Down Expand Up @@ -37,3 +36,17 @@ jobs:

- name: "Enforce coverage"
run: uv run coverage report --show-missing --skip-covered --fail-under=100

check-tests:
name: "Tests successful"
needs: [tests]
runs-on: "ubuntu-latest"
if: always()

steps:
- name: "Check results"
run: |
if [ "${{ needs.tests.result }}" != "success" ]; then
echo "Tests failed"
exit 1
fi
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ ci:
autoupdate_schedule: weekly
autofix_prs: false
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
Expand Down
Loading