Skip to content

Added mypy

Added mypy #34

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: pip install .[dev]
test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v3
- name: Run Tests with pytest
run: pytest ./tests
typecheck:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v3
- name: Type checking with mypy
run: mypy building_energy_storage_simulation