From c7819b1b858cf01e5e6d56b9c5bb0cd6c47c2a9f Mon Sep 17 00:00:00 2001 From: Han Pham <36429830+hanpham32@users.noreply.github.com> Date: Tue, 12 Nov 2024 23:42:20 -0800 Subject: [PATCH] Create streamlit-app-action.yml --- .github/workflows/streamlit-app-action.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/streamlit-app-action.yml diff --git a/.github/workflows/streamlit-app-action.yml b/.github/workflows/streamlit-app-action.yml new file mode 100644 index 0000000..fa01bbb --- /dev/null +++ b/.github/workflows/streamlit-app-action.yml @@ -0,0 +1,24 @@ +name: Streamlit app + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +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: streamlit_app.py + # run ruff linting + ruff: true