Skip to content

Fix #16, add support for Express routes defined on the app #108

Fix #16, add support for Express routes defined on the app

Fix #16, add support for Express routes defined on the app #108

Workflow file for this run

name: Routes CI
on: [push, pull_request]
jobs:
ci:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Run CI
run: |
poetry env use ${{ matrix.python-version }}
poetry install --with dev
poetry run pytest --cov
poetry run semgrep --test --config routes/rules/ tests/test_rules/