Skip to content

Conversation

@JessicaTegner
Copy link
Owner

@JessicaTegner JessicaTegner commented Nov 13, 2025

Note

Stops installing TinyTeX in CI and skips the PDF conversion test when running in CI.

  • CI:
    • Remove TinyTeX mirror and setup-tinytex steps from /.github/workflows/ci.yaml.
  • Tests:
    • Add @unittest.skipIf(os.environ.get("CI") == "true") to test_pdf_conversion in tests.py to skip PDF conversion in CI.

Written by Cursor Bugbot for commit 1999a28. This will update automatically on new commits. Configure here.

@JessicaTegner JessicaTegner force-pushed the jessica/tinytex_fix branch 2 times, most recently from 2018a21 to bd7409b Compare November 13, 2025 15:12
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@JessicaTegner JessicaTegner force-pushed the jessica/tinytex_fix branch 2 times, most recently from 487e89c to 35b94de Compare November 13, 2025 15:25
@JessicaTegner JessicaTegner force-pushed the jessica/tinytex_fix branch 2 times, most recently from 977cdb2 to 2150072 Compare November 13, 2025 15:38
python3 -c "import pytinytex; pytinytex.download_tinytex()"
echo "Adding TinyTeX to PATH"
TINYTEX_PATH=$(python3 -c "import pytinytex; print(pytinytex.get_tinytex_path())")
echo "$TINYTEX_PATH" >> $GITHUB_PATH
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Unnecessary TinyTeX Install in CI

The workflow installs TinyTeX in CI, but the only test that requires it (test_pdf_conversion) is skipped when CI == "true". Since GitHub Actions automatically sets CI=true, the PDF test never runs in CI, making the TinyTeX installation step wasteful and unnecessary. Either the TinyTeX installation should be removed, or the test skip condition needs adjustment.

Fix in Cursor Fix in Web

@JessicaTegner JessicaTegner changed the title Use PyTinyTeX instead in ci Skip TinyTeX download and PDF test in CI Nov 13, 2025
@JessicaTegner JessicaTegner merged commit 5face72 into master Nov 13, 2025
80 checks passed
@JessicaTegner JessicaTegner deleted the jessica/tinytex_fix branch November 13, 2025 16:04
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