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

Create python-test.yml for the CI #48

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Create python-test.yml for the CI #48

merged 2 commits into from
Nov 20, 2024

Conversation

macbre
Copy link
Member

@macbre macbre commented Nov 20, 2024

$ pytest -vv .
=================================================================================================== test session starts ==================================================================================================== platform linux -- Python 3.12.7+, pytest-8.3.3, pluggy-1.5.0 -- /home/macbre/github/mbc-harvest/env/bin/python cachedir: .pytest_cache
rootdir: /home/macbre/github/mbc-harvest
collected 3 items                                                                                                                                                                                                          

test_dlibra.py::test_get_presentation_data_url PASSED                                                                                                                                                                [ 33%]
test_dlibra.py::test_get_content_url PASSED                                                                                                                                                                          [ 66%]
test_dlibra.py::test_get_set PASSED                                                                                                                                                                                  [100%]

===================================================================================================== warnings summary ===================================================================================================== test_dlibra.py::test_get_content_url
test_dlibra.py::test_get_set
  /home/macbre/github/mbc-harvest/env/lib/python3.12/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mbc.cyfrowemazowsze.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================================================================================== 3 passed, 2 warnings in 5.80s ===============================================================================================

$ pytest -vv .
=================================================================================================== test session starts ====================================================================================================
platform linux -- Python 3.12.7+, pytest-8.3.3, pluggy-1.5.0 -- /home/macbre/github/mbc-harvest/env/bin/python
cachedir: .pytest_cache
rootdir: /home/macbre/github/mbc-harvest
collected 3 items                                                                                                                                                                                                          

test_dlibra.py::test_get_presentation_data_url PASSED                                                                                                                                                                [ 33%]
test_dlibra.py::test_get_content_url PASSED                                                                                                                                                                          [ 66%]
test_dlibra.py::test_get_set PASSED                                                                                                                                                                                  [100%]

===================================================================================================== warnings summary =====================================================================================================
test_dlibra.py::test_get_content_url
test_dlibra.py::test_get_set
  /home/macbre/github/mbc-harvest/env/lib/python3.12/site-packages/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mbc.cyfrowemazowsze.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================================================== 3 passed, 2 warnings in 5.80s ===============================================================================================
@macbre macbre self-assigned this Nov 20, 2024
@macbre macbre merged commit a65a5c3 into master Nov 20, 2024
1 check passed
@macbre macbre deleted the add/ci-pytest branch November 20, 2024 20:52
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.

1 participant