Try three times to download the file from PyPI. #227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is managed by 'repo_helper'. Don't edit it directly. | |
--- | |
name: Windows | |
on: | |
push: | |
jobs: | |
tests: | |
name: "windows-2019 / Python ${{ matrix.config.python-version }}" | |
runs-on: "windows-2019" | |
continue-on-error: ${{ matrix.config.experimental }} | |
env: | |
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.7,pypy-3.6,pypy-3.7' | |
strategy: | |
fail-fast: False | |
matrix: | |
config: | |
- {python-version: "3.6", testenvs: "py36,build", experimental: False} | |
- {python-version: "3.7", testenvs: "py37,build", experimental: False} | |
- {python-version: "3.8", testenvs: "py38,build", experimental: False} | |
- {python-version: "3.9", testenvs: "py39,build", experimental: False} | |
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True} | |
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False} | |
- {python-version: "pypy-3.7-v7.3.4", testenvs: "pypy37,build", experimental: True} | |
steps: | |
- name: Checkout 🛎️ | |
uses: "actions/checkout@v2" | |
- name: Setup Python 🐍 | |
uses: "actions/setup-python@v2" | |
with: | |
python-version: "${{ matrix.config.python-version }}" | |
- name: Install dependencies 🔧 | |
run: | | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install --upgrade tox virtualenv | |
- name: "Run Tests for Python ${{ matrix.config.python-version }}" | |
run: python -m tox -e "${{ matrix.config.testenvs }}" | |
- name: "Upload Coverage 🚀" | |
uses: actions/upload-artifact@v2 | |
if: ${{ always() }} | |
with: | |
name: "coverage-${{ matrix.config.python-version }}" | |
path: .coverage |