Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: allow execution of selected pytests only #639

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

tiborsimko
Copy link
Member

@tiborsimko tiborsimko commented Nov 3, 2023

Allows execution of selected pytests via PYTESTCMD environment variable. Example: PYTESTARG="-k test_version" ./run-tests.sh --check-pytest.

Cleans up running DB container when some pytest segfaults.

Removes forgotten import wdb statement that was breaking running tests when only the .[tests] installation target is called to set up the test prerequisites.

Closes reanahub/reana#755.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Merging #639 (5b25925) into master (58f0261) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #639   +/-   ##
=======================================
  Coverage   59.41%   59.41%           
=======================================
  Files          32       32           
  Lines        3294     3294           
=======================================
  Hits         1957     1957           
  Misses       1337     1337           

@tiborsimko tiborsimko force-pushed the configurable-pytest branch 5 times, most recently from 84513af to f77ae4b Compare November 10, 2023 10:57
Cleans up running DB container when some pytest segfaults.

Removes forgotten `import wdb` statement that was breaking running tests
when only the `.[tests]` installation target is called to set up the
test prerequisites.

Closes reanahub/reana#755.
@tiborsimko tiborsimko merged commit 5b25925 into reanahub:master Nov 10, 2023
12 checks passed
@tiborsimko tiborsimko deleted the configurable-pytest branch November 10, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reana-dev python-unit-tests: allow running selected tests only
2 participants