From d58ddeecd078e0724d55ecb3c2a68691891c5a83 Mon Sep 17 00:00:00 2001 From: insolor Date: Sat, 4 Nov 2023 12:15:11 +0300 Subject: [PATCH] Upload coverage info --- .github/workflows/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 778d98d..7cb365b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,4 +38,11 @@ jobs: - name: Test with pytest run: | - poetry run pytest + poetry run pytest --cov=./ + + - name: Upload coverage data to coveralls.io + run: | + pip install coveralls + coveralls --service=github + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}