example: iterate GUIDs #284
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: lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout dnfile | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install tox | |
run: pip install tox | |
- name: Lint with isort and pycodestyle | |
run: tox -e lint | |
- name: Check types with mypy | |
run: tox -e type | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout dnfile | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install tox | |
run: pip install tox | |
- name: Run tests | |
run: tox -e py38 |