diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b6b0892..0cfc239 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -113,10 +113,6 @@ jobs: uses: actions/upload-artifact@v4 if: always() with: - name: logs + name: logs-${{ matrix.gssapi }}-gssapi path: /tmp/*.log if-no-files-found: ignore - - - name: Submit coverage report - run: | - codecov --token=cf379ef9-76c2-4aa9-9bf5-5c01303222e0 diff --git a/Makefile b/Makefile index c598193..c9179a2 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,7 @@ pylint: .PHONY: test test: - python -m coverage run --source tcms_api setup.py test - -.PHONY: test-codecov -test-codecov: test - codecov + pytest -v --ignore=tests/krb5/ tests/ .PHONY: build build: @@ -44,11 +40,11 @@ run-services: .PHONY: verify-integration verify-integration: - PYTHONPATH=. python -m coverage run --source tcms_api ./tests/krb5/integration_test.py + PYTHONPATH=. pytest -v ./tests/krb5/integration_test.py .PHONY: verify-credentials-via-python verify-credentials-via-python: - PYTHONPATH=. python -m coverage run --source tcms_api ./tests/krb5/python_credentials_test.py + PYTHONPATH=. pytest -v ./tests/krb5/python_credentials_test.py .PHONY: verify-curl-with-kerberos verify-curl-with-kerberos: @@ -68,4 +64,4 @@ verify-web-login: verify-curl-with-kerberos cat /tmp/curl.log | grep 'Your Test plans' # verify username is 'travis', e.g. taken from 'travis@KIWITCMS.ORG' principal - cat /tmp/curl.log | grep 'My profile' + cat /tmp/curl.log | grep '/plan/search/?author=travis' diff --git a/appveyor.yml b/appveyor.yml index 5927ca9..09b40ad 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,7 @@ environment: matrix: - MAKE: flake8 - MAKE: pylint - - MAKE: test-codecov + - MAKE: test - MAKE: build install: diff --git a/devel.txt b/devel.txt index 66bb4d2..35abdf9 100644 --- a/devel.txt +++ b/devel.txt @@ -1,7 +1,7 @@ -r requirements.txt build -codecov flake8 pylint +pytest twine