Skip to content

build(deps-dev): update mypy requirement from <1.0,>=0.910 to >=0.910,<2.0 #1

build(deps-dev): update mypy requirement from <1.0,>=0.910 to >=0.910,<2.0

build(deps-dev): update mypy requirement from <1.0,>=0.910 to >=0.910,<2.0 #1

Workflow file for this run

# vim: et
on:
pull_request:
jobs:
tests:
name: Run PyTest and Bandit
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Prepare pip
run: |
python -m pip install --upgrade pip
- name: Install prerequistes for testing
run: |
python -m pip install .[test]
- name: Run tests
run: |
pytest
- name: Run Bandit
run: |
bandit -r src
linting:
name: Run MyPy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Prepare pip
run: |
python -m pip install --upgrade pip
- name: Install prerequistes for testing
run: |
python -m pip install .[test]
- name: Run MyPy
run: |
mypy --package stanford.mais