Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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 '<a href="/accounts/travis/profile/" target="_parent">My profile</a>'
cat /tmp/curl.log | grep '/plan/search/?author=travis'
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
matrix:
- MAKE: flake8
- MAKE: pylint
- MAKE: test-codecov
- MAKE: test
- MAKE: build

install:
Expand Down
2 changes: 1 addition & 1 deletion devel.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements.txt

build
codecov
flake8
pylint
pytest
twine