Skip to content

Commit

Permalink
Update CI workflow to use streamlit-app-action
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcarroll committed Jan 25, 2024
1 parent 54183c1 commit 4052ae7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 39 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/app-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: App testing

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
streamlit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.11'
- uses: streamlit/[email protected]
with:
app-path: Chatbot.py
ruff: true
pytest-args: -v --junit-xml=test-results.xml
- if: always()
uses: pmeier/pytest-results-action@main
with:
path: test-results.xml
summary: true
display-options: fEX
39 changes: 0 additions & 39 deletions .github/workflows/python-app.yml

This file was deleted.

0 comments on commit 4052ae7

Please sign in to comment.