Skip to content
Snippets Groups Projects
Commit a8464b24 authored by Rambaud Pierrick's avatar Rambaud Pierrick
Browse files

fix: add mypy to the CI

parent b3581727
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,20 @@ jobs:
python-version: "3.10"
- uses: pre-commit/action@v3.0.0
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install nox
run: pip install nox
- name: run mypy checks
run: nox -s mypy
test:
needs: [lint]
needs: [lint, mypy]
runs-on: ubuntu-latest
strategy:
matrix:
......@@ -46,7 +58,7 @@ jobs:
- name: Set up pg-client and graphviz
run: |
sudo apt-get update
sudo apt-get -qq install graphviz python3-dev libgraphviz-dev pkg-config postgresql-client
sudo apt-get -qq install graphviz libgraphviz-dev pkg-config postgresql-client
- name: Setup database schema
run: psql -h localhost -U eralchemy -c 'CREATE SCHEMA eralchemy_test;'
env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment