Skip to content

build(deps-dev): update pytest requirement from <6.3.0,>=6.2.4 to >=6.2.4,<8.4.0 #2

build(deps-dev): update pytest requirement from <6.3.0,>=6.2.4 to >=6.2.4,<8.4.0

build(deps-dev): update pytest requirement from <6.3.0,>=6.2.4 to >=6.2.4,<8.4.0 #2

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