Skip to content

Merge pull request #35 from Agent-Hellboy/release/v0.3.0 #109

Merge pull request #35 from Agent-Hellboy/release/v0.3.0

Merge pull request #35 from Agent-Hellboy/release/v0.3.0 #109

Workflow file for this run

name: Python CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.11'
tox-env: py311
experimental: false
- python-version: '3.12'
tox-env: py312
experimental: false
- python-version: '3.13'
tox-env: py313
experimental: false
- python-version: '3.14'
tox-env: py314
experimental: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests with tox
run: |
tox -e ${{ matrix.tox-env }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Lint with tox
run: tox -e lint
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests and generate coverage
run: tox -e coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Agent-Hellboy/py-mcp