Some checks failed
Build / build (push) Has been cancelled
CI / test (push) Has been cancelled
CI / lint (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Docs / docs (push) Has been cancelled
Format / format (push) Has been cancelled
Integration / integration (push) Has been cancelled
Lint / lint (push) Has been cancelled
Security / security (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.12) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
Test / test (3.10) (push) Has been cancelled
Validate / validate (push) Has been cancelled
29 lines
582 B
YAML
29 lines
582 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -e .
|
|
pip install build twine
|
|
- name: Build package
|
|
run: |
|
|
python -m build
|
|
- name: Check package
|
|
run: |
|
|
twine check dist/*
|