Skip to content

feat: add chezmoi tracking to /start INIT MODE #45

feat: add chezmoi tracking to /start INIT MODE

feat: add chezmoi tracking to /start INIT MODE #45

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main, 'feature/**']
workflow_dispatch:
permissions:
pull-requests: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install ruff
- run: ruff check src/ tests/
- run: ruff format --check src/ tests/
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
needs: [lint]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- run: pip install -e src/[test,stripe]
- run: pytest tests/ -v --tb=short
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install build
- run: python -m build src/
- uses: actions/upload-artifact@v4
with:
name: python-package
path: src/dist/