2021-08-06 09:52:38 +01:00
|
|
|
name: Run Unit Tests on Windows
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
2021-11-23 13:53:46 +00:00
|
|
|
types: [review_requested, ready_for_review]
|
2021-04-06 21:32:01 +01:00
|
|
|
|
2021-08-06 09:52:38 +01:00
|
|
|
jobs:
|
|
|
|
testsOnWindows:
|
|
|
|
name: ut-${{ matrix.config.tox-env }}
|
|
|
|
runs-on: windows-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
config:
|
|
|
|
- { python-version: 3.7, tox-env: py37-no-ext }
|
|
|
|
- { python-version: 3.8, tox-env: py38-no-ext }
|
|
|
|
- { python-version: 3.9, tox-env: py39-no-ext }
|
2021-10-28 19:41:57 +01:00
|
|
|
- { python-version: "3.10", tox-env: py310-no-ext }
|
2021-08-06 09:52:38 +01:00
|
|
|
- { python-version: pypy-3.7, tox-env: pypy37-no-ext }
|
2021-04-06 21:32:01 +01:00
|
|
|
|
2021-08-06 09:52:38 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
|
|
uses: actions/checkout@v2
|
2021-04-06 21:32:01 +01:00
|
|
|
|
2021-08-06 09:52:38 +01:00
|
|
|
- name: Run Unit Tests
|
|
|
|
uses: ahopkins/custom-actions@pip-extra-args
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.config.python-version }}
|
|
|
|
test-infra-tool: tox
|
|
|
|
test-infra-version: latest
|
|
|
|
action: tests
|
|
|
|
test-additional-args: "-e=${{ matrix.config.tox-env }}"
|
|
|
|
experimental-ignore-error: "true"
|
|
|
|
command-timeout: "600000"
|
|
|
|
pip-extra-args: "--user"
|