Skip to content

Update test dependencies and format code with Black #42

Update test dependencies and format code with Black

Update test dependencies and format code with Black #42

Triggered via pull request January 15, 2025 10:42
Status Failure
Total duration 58s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Tests (3.7, pypi): tests/test_invenio_config.py#L1
Black format check --- /home/runner/work/invenio-config/invenio-config/tests/test_invenio_config.py 2025-01-15 10:42:58.538476 +0000 +++ /home/runner/work/invenio-config/invenio-config/tests/test_invenio_config.py 2025-01-15 10:43:34.159133 +0000 @@ -175,13 +175,13 @@ InvenioConfigEnvironment(app, prefix="MYPREFIX_") assert not app.config.get("TESTVAR", False) os.environ["MYPREFIX_TESTVAR"] = "True" os.environ["MYPREFIX_JUSTASTRING"] = "This is just a string" - os.environ["MYPREFIX_COMPLEX_DICT"] = ( - "{'complex': {'python': 'dict'}, 'with': ['list', 'and', 1234]}" - ) + os.environ[ + "MYPREFIX_COMPLEX_DICT" + ] = "{'complex': {'python': 'dict'}, 'with': ['list', 'and', 1234]}" InvenioConfigEnvironment(app, prefix="MYPREFIX_") assert app.config.get("TESTVAR") is True assert app.config.get("JUSTASTRING") == "This is just a string" assert app.config.get("COMPLEX_DICT") == { "complex": {"python": "dict"},
Tests (3.7, pypi)
Process completed with exit code 1.
Tests (3.9, pypi)
The job was canceled because "_3_7_pypi" failed.
Tests (3.9, pypi)
The operation was canceled.
Tests (3.8, pypi)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Tests (3.7, pypi)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Tests (3.9, pypi)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down