From 53047027a87713573e1d35559a475450b5ec52a5 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Fri, 25 Oct 2024 13:44:26 +1300 Subject: [PATCH] ci: Run only pytests on Windows --- .github/workflows/checks.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 69650404..2373090f 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 - - name: Test with tox + - name: Run pytests env: PLATFORM: windows-latest - run: tox + run: tox -- pytests