Skip to content

Optimised with new API response #9

Optimised with new API response

Optimised with new API response #9

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."