Skip to content

Add static analysis

Add static analysis #2

Workflow file for this run

name: "Code Checks"
on:
- push
- pull_request
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python:
- "3.10"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install .
- name: Static analysis
run: pip install mypy
run: mypy ./src

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Code Checks

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 30, Col: 9): 'run' is already defined
- name: Run tests
run: python -m unittest