Compare commits

..

3 Commits

Author SHA1 Message Date
Nicolas Kruse 919866e3d7
Update ci.yml: list files added 2025-06-10 10:12:30 +02:00
Nicolas Kruse 38342562d6 DI: path add syntax changed 2025-06-10 09:47:18 +02:00
Nicolas Kruse ecde842849 CI: updated miktex-portable-Win-x64.zip & pip caching added 2025-06-10 09:37:01 +02:00
1 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Cache MiKTeX Portable - name: Cache MiKTeX Portable
uses: actions/cache@v4 uses: actions/cache@v4
@ -37,11 +38,14 @@ jobs:
Invoke-WebRequest https://www.nonan.net/w/files/miktex-portable-Win-x64.zip -OutFile miktex-portable-Win-x64.zip Invoke-WebRequest https://www.nonan.net/w/files/miktex-portable-Win-x64.zip -OutFile miktex-portable-Win-x64.zip
Expand-Archive miktex-portable-Win-x64.zip -DestinationPath . Expand-Archive miktex-portable-Win-x64.zip -DestinationPath .
- name: Copy and check directory structure of MiKTeX installation - name: Copy miktex directory
run: | run: |
robocopy miktex-portable C:\tmp\test_miktex\miktex-portable /E /NFL /NDL robocopy miktex-portable C:\tmp\test_miktex\miktex-portable /E /NFL /NDL
if ($LASTEXITCODE -eq 1) { exit 0 } if ($LASTEXITCODE -eq 1) { exit 0 }
- name: list files
run: dir "C:\tmp\test_miktex\miktex-portable\texmfs\install\miktex\bin\x64\*.exe"
- name: Add miktex to PATH - name: Add miktex to PATH
run: | run: |
echo "PATH=$PATH;C:\tmp\test_miktex\miktex-portable\texmfs\install\miktex\bin\x64;C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_ENV -Append echo "PATH=$PATH;C:\tmp\test_miktex\miktex-portable\texmfs\install\miktex\bin\x64;C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_ENV -Append
@ -54,7 +58,7 @@ jobs:
python -m pip install -e .[dev] python -m pip install -e .[dev]
- name: Run tests with pytest - name: Run tests with pytest
run: pytest tests/test_rendering_markdown.py::test_markdown_styling run: pytest
- name: Upload rendered files - name: Upload rendered files
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4