Skip to content

Bump version to 1.0.5 #5

Bump version to 1.0.5

Bump version to 1.0.5 #5

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
permissions:
contents: read
jobs:
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install codebread + test deps
run: python -m pip install --upgrade pip && pip install -e ".[full,test]"
- name: Run tests
run: python -m pytest -q
build:
name: Build distribution
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Build sdist and wheel
run: |
python -m pip install --upgrade build
python -m build
- name: Check the built package installs and runs
run: |
python -m venv /tmp/codebread-check
/tmp/codebread-check/bin/pip install --quiet dist/*.whl
/tmp/codebread-check/bin/codebread --version