2021-08-06 09:52:38 +01:00
|
|
|
name: Run Unit Tests on Windows
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-07-09 07:21:39 +01:00
|
|
|
- current-release
|
2022-01-06 10:40:52 +00:00
|
|
|
- "*LTS"
|
2021-12-05 22:05:07 +00:00
|
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
2021-04-06 21:32:01 +01:00
|
|
|
|
2021-08-06 09:52:38 +01:00
|
|
|
jobs:
|
|
|
|
testsOnWindows:
|
2021-12-05 22:05:07 +00:00
|
|
|
if: github.event.pull_request.draft == false
|
2021-08-06 09:52:38 +01:00
|
|
|
name: ut-${{ matrix.config.tox-env }}
|
|
|
|
runs-on: windows-latest
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
config:
|
|
|
|
- { 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 }
|
2022-12-17 21:46:22 +00:00
|
|
|
- { python-version: "3.11", tox-env: py310-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"
|