Added test for iteration 2 #50
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: mypy | |
# NOTE: This is a temporary (separate) workflow that runs mypy. | |
# We're doing this ahead of its adoption in the main 'test' workflow. | |
# ----------------- | |
# Control variables (GitHub Secrets) | |
# ----------------- | |
# | |
# (n/a) | |
# | |
# ----------- | |
# Environment (GitHub Environments) | |
# ----------- | |
# | |
# Environment (n/a) | |
on: | |
- push | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Run mypy | |
run: | | |
pip install --upgrade pip | |
pip install .[dev] | |
mypy xchemalign |