Skip to content

Merge pull request #9 from Agent-Hellboy/issue#7 #28

Merge pull request #9 from Agent-Hellboy/issue#7

Merge pull request #9 from Agent-Hellboy/issue#7 #28

Workflow file for this run

name: Python CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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_env=py${{ matrix.python-version }}
tox_env=${tox_env//./}
tox -e $tox_env
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- 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@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- 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-sse-mcp