Define metadata return types #311
Workflow file for this run
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 & Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
lint_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🏷️ | |
uses: actions/checkout@v2 | |
- name: Install Python 🐍 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install dependencies ⚙️ | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[dev] | |
- name: Log Python environment ✏️ | |
run: | | |
pip freeze | |
- name: black ◼️ | |
run: invoke black | |
- name: flake8 ❄️ | |
run: invoke flake8 | |
- name: mypy 🧐 | |
run: invoke mypy | |
- name: pytest tests 👓 | |
run: | | |
pushd test/ | |
invoke test | |
popd | |
- name: pytest benchmark 📈 | |
run: invoke benchmark | |
- name: sphinx build 🐪 | |
run: invoke docbuild | |
- name: check-manifest 📰 | |
run: check-manifest |