mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 21:37:31 +08:00
32 lines
698 B
YAML
32 lines
698 B
YAML
name: App testing
|
|
|
|
on:
|
|
push:
|
|
branches: [ "develop" ]
|
|
pull_request:
|
|
branches: [ "develop" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
streamlit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- uses: streamlit/streamlit-app-action@v0.0.3
|
|
with:
|
|
app-path: app/streamlit/Chatbot.py
|
|
ruff: true
|
|
skip-smoke: true
|
|
pytest-args: -v --junit-xml=test-results.xml
|
|
- if: always()
|
|
uses: pmeier/pytest-results-action@v0.6.0
|
|
with:
|
|
path: test-results.xml
|
|
summary: true
|
|
display-options: fEX
|