Skip to content

[APP-3634] Add pytest run check for PRs #7

[APP-3634] Add pytest run check for PRs

[APP-3634] Add pytest run check for PRs #7

Workflow file for this run

name: Run Tests on PR
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Run pytest
run: cd src && streamlit-sal compile && pytest ../tests/ --maxfail=1 --disable-warnings --verbose