From 404c80674881f9a32349b0853d359eeaeb882834 Mon Sep 17 00:00:00 2001 From: Zhiwei Date: Fri, 6 Aug 2021 02:16:53 -0500 Subject: [PATCH] uncomment windows tests --- .github/workflows/pr-windows.yml | 62 ++++++++++++++++---------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/pr-windows.yml b/.github/workflows/pr-windows.yml index a47a500628..e3a32e5d87 100644 --- a/.github/workflows/pr-windows.yml +++ b/.github/workflows/pr-windows.yml @@ -1,34 +1,34 @@ -# name: Run Unit Tests on Windows -# on: -# pull_request: -# branches: -# - main +name: Run Unit Tests on Windows +on: + pull_request: + branches: + - main -# 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 } -# - { python-version: pypy-3.7, tox-env: pypy37-no-ext } +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 } + - { python-version: pypy-3.7, tox-env: pypy37-no-ext } -# steps: -# - name: Checkout Repository -# uses: actions/checkout@v2 + steps: + - name: Checkout Repository + uses: actions/checkout@v2 -# - 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" + - 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"