mirror of https://github.com/Nonannet/pyladoc.git
Compare commits
3 Commits
29eb3a6a70
...
919866e3d7
Author | SHA1 | Date |
---|---|---|
|
919866e3d7 | |
|
38342562d6 | |
|
ecde842849 |
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue