Merge pull request #1283 from bmwant/bmwant/update-docs-1 #111
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
name: CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
tox: | |
runs-on: ubuntu-20.04 # bump to -latest or -22.04 once we drop py36 | |
strategy: | |
max-parallel: 5 | |
matrix: | |
python-version: | |
- "3.6" | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "pypy3.9" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install --upgrade tox tox-gh-actions | |
- name: Install h2spec | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
.github/workflows/install_h2spec.sh | |
- name: Initialize tox envs | |
run: | | |
tox --parallel auto --notest | |
- name: Test with tox | |
run: | | |
tox --parallel 0 | |
- uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.xml |