diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index feb628e..06cf444 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/tests.py b/tests.py index 31fbb87..28eda05 100755 --- a/tests.py +++ b/tests.py @@ -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(