Merge pull request #366 from candleindark/RF-gh-workflows #3
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: Type checks | |
on: [ push, pull_request ] | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Tags are needed to install DL-Registry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies and project | |
run: | | |
pip install --upgrade pip | |
pip install -r requirements.dev.txt | |
pip install .[dev] | |
- name: Run mypy | |
run: mypy datalad_registry datalad_registry_client |