Add streamlit link badge #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.12] | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
# Install a specific version of uv. | |
version: "0.5.5" | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: pre-commit checks | |
uses: pre-commit/[email protected] | |
- name: Run tests | |
run: uv run pytest tests |