Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Print Python Information
run: python -VV
- name: Specify tinytex mirror (CTAN_REPO)
run: |
echo "CTAN_REPO=https://mirrors.dotsrc.org/ctan/" >> $GITHUB_ENV
- name: install TinyTeX
uses: r-lib/actions/setup-tinytex@v2
- name: Install and configure Poetry
run: |
pip3 install -U poetry setuptools
Expand Down
4 changes: 4 additions & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ def test_conversion_from_non_plain_text_file(self):
received = pypandoc.convert_file(file_name, to="rst")
self.assertEqualExceptForNewlineEnd(expected, received)

# skip in ci
@unittest.skipIf(
os.environ.get("CI") == "true", "Skipping PDF conversion test in CI environment"
)
def test_pdf_conversion(self):
with closed_tempfile(".pdf") as file_name:
ret = pypandoc.convert_text(
Expand Down