ci: py37 -> py38

This commit is contained in:
Maximilian Hils 2020-04-03 18:26:38 +02:00
parent 7c4488e49a
commit b67736bbef
1 changed files with 7 additions and 11 deletions

View File

@ -2,10 +2,6 @@ name: CI
on: [push, pull_request]
# We currently use Python 3.7 for most things:
# - zstandard currently doesn't have 3.8 wheels,
# - we need to upgrade cryptography from version 2.4, which also doesn't have wheels
env:
# Codecov
CODECOV_TOKEN: "0409bdfd-57a4-477d-a8af-f6172ef431d3"
@ -44,9 +40,9 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
- run: pip install tox
- run: tox -e py37
- run: tox -e py38
# codecov's GitHub action only supports Linux. https://github.com/codecov/codecov-action/issues/7
# codecov's Python uploader has no github actions support yet. https://github.com/codecov/codecov-python/pull/214
- name: Extract branch name # https://stackoverflow.com/a/58035262/934719
@ -77,7 +73,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
- run: pip install tox
- run: tox -e cibuild -- build
- uses: actions/upload-artifact@master
@ -99,7 +95,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
- if: matrix.os == 'windows-latest'
uses: actions/cache@v1
with:
@ -142,7 +138,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
- run: pip install tox
- run: |
wget https://github.com/gohugoio/hugo/releases/download/v0.65.3/hugo_extended_0.65.3_Linux-64bit.deb
@ -162,7 +158,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
- run: pip install tox
- uses: actions/download-artifact@master
with:
@ -187,7 +183,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: '3.7'
python-version: '3.8'
# artifacts must be downloaded individually, see https://github.com/actions/download-artifact/issues/6
- uses: actions/download-artifact@master
with: