Skip to content

Merge pull request #5 from typhonshambo/main #6

Merge pull request #5 from typhonshambo/main

Merge pull request #5 from typhonshambo/main #6

Workflow file for this run

name: Lint and Streamlit Check
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
run-linters:
name: Run Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
pip install black flake8 streamlit
- name: Run Python linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
black: true
flake8: true
- name: Streamlit Check
run: |
# Remove the old 'streamlit run streamlit.py' line.
python streamlit_test.py && echo "Streamlit test passed!" || echo "Streamlit test failed."