Skip to content

remove static expressions #18

remove static expressions

remove static expressions #18

Workflow file for this run

name: Run Unit Tests
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read # To read the repository contents (for `actions/checkout`)
actions: read # Allow the use of actions like `actions/cache`
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update python and install dependencies
uses: ./.github/actions/cached-requirements
- name: Install test dependencies
run: |
source .venv/bin/activate
pip install pytest
pip install flask
- name: Run unit tests
run: |
source .venv/bin/activate
PYTHONPATH=src python -m pytest --color=yes test/test_sql_guard_unit.py
- name: Run REST API unit tests
run: |
source .venv/bin/activate
PYTHONPATH=src python -m pytest --color=yes test/test_rest_api_unit.py