Update release.yml #113
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: Python Code | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Python Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.6 | |
- name: Install tox | |
run: | | |
python -m pip install -U pip | |
pip install tox | |
- name: Lint Python code | |
run: tox -e lint | |
- name: Check Python code formatting | |
run: tox -e testfmt | |
- name: Test binaries | |
run: tox -e testbinary | |
- name: Test packages | |
run: tox -e testpackages |