summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2020-03-01 13:54:25 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2020-03-01 15:50:52 +0100
commit15b31a090f4e415c6d1bbd8a704cc89b34802449 (patch)
tree4118370f72ae7286f19aa2956cc70fa3accdf1fd /.github
parent827e890fe10b4bb8434ffb6350e592cece4b033c (diff)
downloadpygments-git-15b31a090f4e415c6d1bbd8a704cc89b34802449.tar.gz
Run build tests on Windows.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index f95482c7..b999ffec 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -5,11 +5,12 @@ on: [push, pull_request]
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
strategy:
- max-parallel: 4
matrix:
+ os: [ubuntu-latest, windows-latest]
python-version: [3.5, 3.6, 3.7, 3.8, pypy3]
+ max-parallel: 4
steps:
- uses: actions/checkout@v1
@@ -24,3 +25,7 @@ jobs:
pip install .
- name: Test package
run: make test TEST=-v
+ if: runner.os == 'Linux'
+ - name: Test package
+ run: py.test
+ if: runner.os == 'Windows' && ! contains(matrix['python-version'], 'pypy')