Skip to content

Commit

Permalink
ci: Run only pytests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara committed Oct 25, 2024
1 parent 0845467 commit 0ea59ed
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,28 +168,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# - name: Install Fonts
# shell: pwsh
# run: |
# go install github.com/Crosse/font-install@latest
# $env:GOPATH = (go env GOPATH)
# $env:Path += ";$env:GOPATH\bin"
# font-install https://github.com/ietf-tools/xml2rfc-fonts/archive/refs/tags/3.22.0.zip

- name: Install Python dependencies
shell: pwsh
run: |
echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH
echo "Installing pip + wheel..."
python -m pip install --upgrade pip wheel
echo "Installing requirements.txt + test dependencies..."
python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes "pypdf>=4.1.0"
- name: Generate Valid Tests
run: |
make yestests || true
cp tests/out/. tests/valid
python -m pip install -r requirements.txt tox tox-gh-actions certifi decorator dict2xml pyflakes
- name: Test with tox
- name: Run pytests
env:
PLATFORM: windows-latest
run: tox
run: tox -- pytests

0 comments on commit 0ea59ed

Please sign in to comment.