Skip to content

Customize stDecoration #23

Customize stDecoration

Customize stDecoration #23

Workflow file for this run

name: Test and lint
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Create .streamlit/secrets.toml
env:
SECRETS_CONTENT: ${{ secrets.SL_SECRETS }}
run: |
mkdir -p .streamlit
echo "$SECRETS_CONTENT" > .streamlit/secrets.toml
- name: Run tests
run: poetry run python -m pytest tests/ -v
- name: Lint
uses: chartboost/ruff-action@v1