From 7d666860421d8ae13e703dbb2208341eec216eee Mon Sep 17 00:00:00 2001 From: amercader Date: Fri, 5 Jul 2024 12:08:13 +0200 Subject: [PATCH] Remove codecov, add pytest-pretty --- .github/workflows/test.yml | 9 ++------- dev-requirements.txt | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c92e0fc..ea46d262 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -66,10 +66,5 @@ jobs: ckan -c test.ini db init ckan -c test.ini db pending-migrations --apply - name: Run tests - run: pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=xml --cov-append --disable-warnings ckanext/dcat/tests - - name: Upload coverage report to codecov - uses: codecov/codecov-action@v4 - with: - files: ./coverage.xml - env: - token: ${{ secrets.CODECOV_TOKEN }} + run: pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests + diff --git a/dev-requirements.txt b/dev-requirements.txt index 56cdcb47..5cd11822 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -2,3 +2,4 @@ responses>=0.25.2 mock pytest-ckan pytest-cov +pytest-pretty