Skip to content

Export custom exceptions from the bote package #11

Export custom exceptions from the bote package

Export custom exceptions from the bote package #11

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pytest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
# The experimental run against the latest Python pre-release is allowed to
# fail: a break there is reported but does not fail the workflow.
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
experimental: [false]
include:
- python-version: '3.15'
experimental: true
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
# Needed so the latest Python pre-release can be installed.
allow-prereleases: true
- name: Install Poetry and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --with dev
- name: Test with pytest (Poetry)
run: |
poetry run pytest