From 0d7d566315f54f0c25cab6d37c926f796a4c187a Mon Sep 17 00:00:00 2001 From: "marcel.kocisek" Date: Tue, 29 Oct 2024 10:34:58 +0100 Subject: [PATCH 1/4] Enable coveralls --- .github/workflows/auto_tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_tests.yml b/.github/workflows/auto_tests.yml index ffb6478f..c99c44a7 100644 --- a/.github/workflows/auto_tests.yml +++ b/.github/workflows/auto_tests.yml @@ -38,7 +38,7 @@ jobs: cd server pipenv run pytest -v --cov=mergin mergin/tests - # - name: Coveralls - # uses: coverallsapp/github-action@v2 - # with: - # base-path: server + - name: Coveralls + uses: coverallsapp/github-action@v2 + with: + base-path: server From 55d17242e1179c930b612dabcff0261bcd12cdac Mon Sep 17 00:00:00 2001 From: "marcel.kocisek" Date: Tue, 29 Oct 2024 10:49:42 +0100 Subject: [PATCH 2/4] added format for coveralls --- .github/workflows/auto_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto_tests.yml b/.github/workflows/auto_tests.yml index c99c44a7..7eb7e22b 100644 --- a/.github/workflows/auto_tests.yml +++ b/.github/workflows/auto_tests.yml @@ -36,7 +36,7 @@ jobs: - name: Run tests run: | cd server - pipenv run pytest -v --cov=mergin mergin/tests + pipenv run pytest -v --cov=mergin mergin/tests --format=python - name: Coveralls uses: coverallsapp/github-action@v2 From 476944490a86e1a40d05af5cb64826aadc1673d4 Mon Sep 17 00:00:00 2001 From: "marcel.kocisek" Date: Tue, 29 Oct 2024 10:56:07 +0100 Subject: [PATCH 3/4] Some upgrades --- .github/workflows/auto_tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_tests.yml b/.github/workflows/auto_tests.yml index 7eb7e22b..04435adc 100644 --- a/.github/workflows/auto_tests.yml +++ b/.github/workflows/auto_tests.yml @@ -36,9 +36,10 @@ jobs: - name: Run tests run: | cd server - pipenv run pytest -v --cov=mergin mergin/tests --format=python + pipenv run pytest -v --cov=mergin --cov-report=xml mergin/tests - name: Coveralls uses: coverallsapp/github-action@v2 with: base-path: server + format: python From 8b1b38c8262471cd16de01d3d146fceadedd00f8 Mon Sep 17 00:00:00 2001 From: "marcel.kocisek" Date: Tue, 29 Oct 2024 11:06:27 +0100 Subject: [PATCH 4/4] lcov report --- .github/workflows/auto_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto_tests.yml b/.github/workflows/auto_tests.yml index 04435adc..31c5d379 100644 --- a/.github/workflows/auto_tests.yml +++ b/.github/workflows/auto_tests.yml @@ -36,10 +36,10 @@ jobs: - name: Run tests run: | cd server - pipenv run pytest -v --cov=mergin --cov-report=xml mergin/tests + pipenv run pytest -v --cov=mergin --cov-report=lcov mergin/tests - name: Coveralls uses: coverallsapp/github-action@v2 with: base-path: server - format: python + format: lcov