mirror of https://github.com/Nonannet/pyladoc.git
Compare commits
No commits in common. "919866e3d797233baee817a9852eabc6f7439948" and "29eb3a6a70d7ee449b0e981ab88a31474dd876e8" have entirely different histories.
919866e3d7
...
29eb3a6a70
|
@ -22,7 +22,6 @@ 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
|
||||||
|
@ -38,14 +37,11 @@ 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 miktex directory
|
- name: Copy and check directory structure of MiKTeX installation
|
||||||
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
|
||||||
|
@ -58,7 +54,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
|
run: pytest tests/test_rendering_markdown.py::test_markdown_styling
|
||||||
|
|
||||||
- name: Upload rendered files
|
- name: Upload rendered files
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Reference in New Issue