Scrapy, a fast high-level web crawling & scraping framework for Python.
Run Windows tests on GitHub actions (#4869)
Eugenio Lacuestac292957cb190
diff --git a/.github/workflows/main.yml b/.github/workflows/main.ymlnew file mode 100644index 000000000..28771216c--- /dev/null+++ b/.github/workflows/main.yml@@ -0,0 +1,31 @@+name: Run test suite+on: [push, pull_request]++jobs:+ test-windows:+ name: "Windows Tests"+ runs-on: ${{ matrix.os }}+ strategy:+ matrix:+ os: [windows-latest]+ python-version: [3.7, 3.8]+ env: [TOXENV: py]+ include:+ - os: windows-latest+ python-version: 3.6+ env:+ TOXENV: windows-pinned++ steps:+ - uses: actions/checkout@v2++ - name: Set up Python ${{ matrix.python-version }}+ uses: actions/setup-python@v1+ with:+ python-version: ${{ matrix.python-version }}++ - name: Run test suite+ env: ${{ matrix.env }}+ run: |+ pip install -U tox twine wheel codecov+ toxdiff --git a/azure-pipelines.yml b/azure-pipelines.ymldeleted file mode 100644index c03e258c7..000000000--- a/azure-pipelines.yml+++ /dev/null@@ -1,22 +0,0 @@-variables:- TOXENV: py-pool:- vmImage: 'windows-latest'-strategy:- matrix:- Python36:- python.version: '3.6'- TOXENV: windows-pinned- Python37:- python.version: '3.7'- Python38:- python.version: '3.8'-steps:-- task: UsePythonVersion@0- inputs:- versionSpec: '$(python.version)'- displayName: 'Use Python $(python.version)'-- script: |- pip install -U tox twine wheel codecov- tox- displayName: 'Run test suite'