Skip to content

chore(deps): Bump codecov/codecov-action from 5 to 6 in the actions group #14

chore(deps): Bump codecov/codecov-action from 5 to 6 in the actions group

chore(deps): Bump codecov/codecov-action from 5 to 6 in the actions group #14

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run ruff check
run: ruff check src tests
- name: Run ruff format check
run: ruff format --check src tests
- name: Run mypy
run: mypy src
- name: Run tests with coverage
run: |
pytest --cov=src/multi_agent_cli --cov-report=xml --cov-report=term-missing
- name: Check 100% coverage
run: |
coverage report --fail-under=100
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v6
if: matrix.python-version == '3.11'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Upload artifacts
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/