Skip to content

Release 0.1.0 — first stable #27

Release 0.1.0 — first stable

Release 0.1.0 — first stable #27

Workflow file for this run

name: Test
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint with ruff
run: |
ruff check src tests
- name: Type check with mypy
run: |
mypy src/bankofai/x402_cli
- name: Run tests with pytest
run: |
pytest tests/ -v --cov=src/bankofai/x402_cli --cov-report=xml
- name: Run smoke tests
run: |
bash .claude/smoke-test.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false