Skip to content

Commit

Permalink
Add GitHub Actions CI workflow for troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunanouv authored Jun 24, 2024
1 parent 1095055 commit 6d4e6cf
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
- name: Run Streamlit application
run: |
source venv/bin/activate
streamlit run app.py --logger.level=debug > output.log 2>&1
- name: Display output log
run: cat output.log

0 comments on commit 6d4e6cf

Please sign in to comment.