Skip to content

Add a simple integration test #275

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

Merged
merged 4 commits into from
Apr 12, 2025
Merged

Add a simple integration test #275

merged 4 commits into from
Apr 12, 2025

Conversation

AA-Turner
Copy link
Member

No description provided.

@AA-Turner AA-Turner merged commit 8840460 into main Apr 12, 2025
10 checks passed
@AA-Turner AA-Turner deleted the integration-test branch April 12, 2025 14:46
@hugovk
Copy link
Member

hugovk commented Apr 13, 2025

Looks like it's failing, but the CI is still passing:

2025-04-12 21:10:24,910 DEBUG en/3.14: Run: 'chgrp -R 118 /home/runner/work/docsbuild-scripts/docsbuild-scripts/logs'
2025-04-12 21:10:24,912 ERROR en/3.14: Badly handled exception, human, please help.
Traceback (most recent call last):
  File "/home/runner/work/docsbuild-scripts/docsbuild-scripts/./build_docs.py", line 572, in run
    self.build()
    ~~~~~~~~~~^^
  File "/home/runner/work/docsbuild-scripts/docsbuild-scripts/./build_docs.py", line 689, in build
    setup_switchers(
    ~~~~~~~~~~~~~~~^
        self.switchers_content, self.checkout / "Doc" / "build" / "html"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/home/runner/work/docsbuild-scripts/docsbuild-scripts/./build_docs.py", line 476, in setup_switchers
    switchers_path.write_text(script_content, encoding="UTF-8")
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/pathlib/_local.py", line 555, in write_text
    return PathBase.write_text(self, data, encoding, errors, newline)
           ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.13.2/x64/lib/python3.13/pathlib/_abc.py", line 649, in write_text
    raise TypeError('data must be str, not %s' %
                    data.__class__.__name__)
TypeError: data must be str, not bytes
2025-04-12 21:10:25,008 INFO: Skipping sitemap generation (www root does not even exist).
2025-04-12 21:10:25,008 INFO: Skipping 404 page generation (www root does not even exist).
2025-04-12 21:10:25,008 INFO: Skipping copying robots.txt (www root does not even exist).
2025-04-12 21:10:25,008 INFO: Creating major and development version symlinks...
2025-04-12 21:10:25,008 INFO: Full build done (2m 48s).

@hugovk
Copy link
Member

hugovk commented Apr 13, 2025

@AA-Turner
Copy link
Member Author

#284

@AA-Turner
Copy link
Member Author

This one passed, after #280 was merged.

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.

2 participants