Skip to content

webapp: api: combine test lists #253

webapp: api: combine test lists

webapp: api: combine test lists #253

Workflow file for this run

name: Mypy-Pyright-webapp
on:
pull_request:
branches:
main
paths:
- 'tools/web-fuzzing-introspection/**'
- '.github/workflows/webapp-mypy.yml'
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
name: Mypy-Pyright-webapp
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v2.4.0
- name: Set up Python 3.8
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v3.0.0
with:
python-version: 3.8
- name: Install venv
run: sudo apt-get install python3-venv
- name: Set up venv
run: cd tools/web-fuzzing-introspection && python3 -m venv .venv
- name: Active venv dependencies
run: cd tools/web-fuzzing-introspection && source .venv/bin/activate && pip install -r ./requirements.txt
- name: Install Dependencies
run: |
pip install mypy types-PyYAML pyright types-requests
- name: mypy
run: |
cd tools/web-fuzzing-introspection && mypy --ignore-missing-imports --explicit-package-bases .
- name: pyright
run: |
cd tools/web-fuzzing-introspection && source .venv/bin/activate && pyright . --project=./.pyrightconfig.json --venvpath=./.venv