Skip to content

Commit

Permalink
Create a GitHub Actions workflow for static type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
candleindark committed May 3, 2024
1 parent 0291333 commit 7646866
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/type_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

0 comments on commit 7646866

Please sign in to comment.