Skip to content

Commit

Permalink
Move Windows tests under GHA (#1515)
Browse files Browse the repository at this point in the history
Signed-off-by: Gábor Lipták <[email protected]>
  • Loading branch information
gliptak authored Sep 23, 2021
1 parent 5d9b8b4 commit b6bb564
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 49 deletions.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,33 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github

test_windows:
runs-on: windows-latest
needs: [lint]
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
arch: ["x86", "x64"]

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: python -m pip install tox coveralls
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py
- name: Publish coverage
run: coveralls --service=github
env:
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: run-ubuntu-${{ matrix.python }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github

test_alpine:
runs-on: ubuntu-latest
needs: [lint]
Expand Down Expand Up @@ -100,7 +127,7 @@ jobs:


finish:
needs: [test_ubuntu, test_alpine, test_32bit]
needs: [test_ubuntu, test_windows, test_alpine, test_32bit]
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
Expand Down
48 changes: 0 additions & 48 deletions appveyor.yml

This file was deleted.

0 comments on commit b6bb564

Please sign in to comment.