Skip to content

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

Python

ci: raise the coverage floor from 54% to 60%; CI measured 62.6% at v0.10.6 and this release adds well-covered code

Murtaza Nasir16ff1818ee3b
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index fd995061..12b90ab3 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=54
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=60
js-tests:
runs-on: ubuntu-latest
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 3a6cd02c..f367d4fe 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -58,7 +58,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=54
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=60
build:
needs: test
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e118d771..3f6dc35d 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=54
+ run: pytest tests/ -q --cov=src --cov-report=term-missing --cov-fail-under=60
js-tests:
runs-on: ubuntu-latest