Skip to content

Automated commit (Navajo) #1328

Automated commit (Navajo)

Automated commit (Navajo) #1328

Workflow file for this run

# Workflow to Run Python tests
---
name: Run Python Tests
on:
[push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
USE_TEST_ARTIFACTS: 1
steps:
- uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r tests/requirements.txt
sbase get chromedriver latest
- name: Start Streamlit app
run: |
streamlit run app/app.py --server.headless true &
- name: Run tests with pytest
run: pytest