Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Raise CI coverage floor to 54% after mutation-driven test additions

Murtaza Nasir5d271a11008a
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index 9ba5fcd3..fd995061 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -55,7 +55,7 @@ jobs:
# test_postgres_migrations.py reads TEST_DATABASE_URI separately so it
# exercises real PostgreSQL compatibility against the service above.
TEST_DATABASE_URI: postgresql://speakr:speakr@postgres:5432/speakr_test
- run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=53
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=54
js-tests:
runs-on: ubuntu-latest
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index b6e91b7d..e93b8c62 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -55,7 +55,7 @@ jobs:
# App tests run on an isolated SQLite DB (conftest.py);
# test_postgres_migrations reads TEST_DATABASE_URI for real PG.
TEST_DATABASE_URI: postgresql://speakr:speakr@localhost:5432/speakr_test
- run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=53
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=54
build:
needs: test
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e2a8acc9..e118d771 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -55,7 +55,7 @@ jobs:
# test_postgres_migrations.py reads TEST_DATABASE_URI separately so it
# exercises real PostgreSQL compatibility against the service above.
TEST_DATABASE_URI: postgresql://speakr:speakr@localhost:5432/speakr_test
- run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=53
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=54
js-tests:
runs-on: ubuntu-latest