Adds .github/workflows/ci.yml running the project's existing install + pytest command on push/PR across Python 3.10 and 3.12 -- there was no CI at all before this. Also adds RELEASE.md documenting that PyPI publish is still blocked on a owner-only step (no PyPI account/token exists yet) and spelling out exactly what's needed: account creation, 2FA, API token or trusted-publishing setup, and where the token should be stored (GitHub Actions secret, never in-repo). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
487 B
YAML
24 lines
487 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.12"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install
|
|
run: pip install -e ".[dev]"
|
|
- name: Test
|
|
run: pytest --cov=launchmaxxing --cov-report=term-missing
|