add Python 3.9 to CI

This commit is contained in:
Maximilian Hils 2020-08-26 23:54:35 +02:00
parent 8e5e43de24
commit baf76d00f9
2 changed files with 16 additions and 14 deletions

View File

@ -14,28 +14,28 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
- run: pip install tox - run: pip install tox
- run: tox -e flake8 - run: tox -e flake8
filename-matching: filename-matching:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
- run: pip install tox - run: pip install tox
- run: tox -e filename_matching - run: tox -e filename_matching
mypy: mypy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
- run: pip install tox - run: pip install tox
- run: tox -e mypy - run: tox -e mypy
individual-coverage: individual-coverage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
- run: pip install tox - run: pip install tox
- run: tox -e individual_coverage - run: tox -e individual_coverage
test: test:
@ -44,9 +44,11 @@ jobs:
matrix: matrix:
include: include:
- os: windows-latest - os: windows-latest
py: 3.8 py: 3.9.0-rc.1
- os: macos-latest - os: macos-latest
py: 3.8 py: 3.9.0-rc.1
- os: ubuntu-latest
py: 3.9.0-rc.1
- os: ubuntu-latest - os: ubuntu-latest
py: 3.8 py: 3.8
- os: ubuntu-latest - os: ubuntu-latest
@ -57,7 +59,7 @@ jobs:
steps: steps:
- run: printenv - run: printenv
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.py }} python-version: ${{ matrix.py }}
- run: pip install tox - run: pip install tox
@ -70,7 +72,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.5' python-version: '3.5'
- run: pip install tox - run: pip install tox
@ -81,7 +83,7 @@ jobs:
CI_BUILD_WHEEL: 1 CI_BUILD_WHEEL: 1
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.8' python-version: '3.8'
- run: pip install tox - run: pip install tox
@ -103,7 +105,7 @@ jobs:
CI_BUILD_KEY: ${{ secrets.CI_BUILD_KEY }} CI_BUILD_KEY: ${{ secrets.CI_BUILD_KEY }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.7' python-version: '3.7'
- if: matrix.os == 'windows-latest' - if: matrix.os == 'windows-latest'
@ -149,7 +151,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.8' python-version: '3.8'
- run: pip install tox - run: pip install tox
@ -169,7 +171,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.7' python-version: '3.7'
- run: pip install tox - run: pip install tox
@ -194,7 +196,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: '3.8' python-version: '3.8'
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2

View File

@ -15,4 +15,4 @@ coverage:
- "web/" - "web/"
codecov: codecov:
notify: notify:
after_n_builds: 6 after_n_builds: 7