Github actions: fix check script
@@ -11,13 +11,13 @@ jobs:
with:
fetch-depth: 20
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- - name: Set up Python 3.7
+ - name: Set up Python 3.8
uses: actions/setup-python@v1
with:
- python-version: 3.7
+ python-version: 3.8
- name: Install tools
- run: python -m pip install build twine --user
- - name: Build a binary wheel and a source tarball
- run: python -m build
- - name: check
+ run: |
+ pip install -U pip
+ pip install tox tox-gh-actions build
+ - name: Run check
run: tox
