init slack integration (#18) #46
This file contains hidden or 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: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up UV and Python ${{ matrix.python-version }} | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
enable-cache: true | |
cache-dependency-glob: | | |
pyproject.toml | |
**/requirements*.txt | |
- name: Install dependencies | |
run: | | |
uv sync | |
- name: Run pre-commit | |
run: | | |
SKIP=no-commit-to-branch pre-commit run --all-files | |
# - name: Run tests | |
# run: | | |
# uv pip install pytest | |
# uv run pytest tests/ |