aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2020-04-03 18:26:38 +0200
committerMaximilian Hils <git@maximilianhils.com>2020-04-03 18:26:38 +0200
commitb67736bbefbc3d276ce3f873d0c7e76441459c92 (patch)
tree5feb00379ad3a5dd006cc8d9f340ae94208634d9 /.github
parent7c4488e49a68fc25d9764c2b36569ac921e328c1 (diff)
downloadmitmproxy-b67736bbefbc3d276ce3f873d0c7e76441459c92.tar.gz
mitmproxy-b67736bbefbc3d276ce3f873d0c7e76441459c92.tar.bz2
mitmproxy-b67736bbefbc3d276ce3f873d0c7e76441459c92.zip
ci: py37 -> py38
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml18
1 files changed, 7 insertions, 11 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index fce4dcf3..0010aea1 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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: