mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-04 07:57:52 +03:00
Use single quotes
This commit is contained in:
parent
054d62849b
commit
249336d098
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
|
||||
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3']
|
||||
exclude:
|
||||
# Pillow wheel missing for this configuration
|
||||
- os: macos-latest
|
||||
@ -23,10 +23,10 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install DejaVu and Ghostscript (Ubuntu)
|
||||
if: matrix.os == "ubuntu-latest"
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get update -y && sudo apt-get install fonts-dejavu ghostscript -y
|
||||
- name: Install DejaVu, Pango and Ghostscript (MacOS)
|
||||
if: matrix.os == "macos-latest"
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: |
|
||||
rm /usr/local/bin/2to3
|
||||
brew update
|
||||
@ -34,16 +34,16 @@ jobs:
|
||||
brew install --cask font-dejavu
|
||||
brew install pango ghostscript
|
||||
- name: Install DejaVu, Pango and Ghostscript (Windows)
|
||||
if: matrix.os == "windows-latest"
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: |
|
||||
C:\msys64\usr\bin\bash -lc "pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-pango mingw-w64-x86_64-ghostscript --noconfirm"
|
||||
C:\msys64\usr\bin\bash -lc 'pacman -S mingw-w64-x86_64-ttf-dejavu mingw-w64-x86_64-pango mingw-w64-x86_64-ghostscript --noconfirm'
|
||||
xcopy "C:\msys64\mingw64\share\fonts\TTF" "C:\Users\runneradmin\.fonts" /e /i
|
||||
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH
|
||||
rm C:\msys64\mingw64\bin\python.exe
|
||||
- name: Upgrade pip and setuptools
|
||||
run: python -m pip install --upgrade pip setuptools
|
||||
- name: Upgrade cffi (Windows)
|
||||
if: matrix.os == "windows-latest"
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: python -m pip install --upgrade cffi
|
||||
- name: Install tests’ requirements
|
||||
run: python -m pip install .[test]
|
||||
|
Loading…
Reference in New Issue
Block a user