Skip to content

ci: add minimal build/test pipeline #1

ci: add minimal build/test pipeline

ci: add minimal build/test pipeline #1

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: poetry
- run: poetry install
- run: poetry build
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: poetry
- run: poetry install
# No pytest suite yet; import-smoke the built package so CI fails fast
# on broken codegen/spec dependencies.
- run: poetry run python -c "import utxorpc"