Skip to content

Move crewai tool decorator import to function where it is used to prevent import errors on init. #41

Move crewai tool decorator import to function where it is used to prevent import errors on init.

Move crewai tool decorator import to function where it is used to prevent import errors on init. #41

Workflow file for this run

name: Codecov
on:
push:
branches:
- main
paths:
- 'agentstack/**/*.py'
pull_request:
branches:
- main
paths:
- 'agentstack/**/*.py'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests with tox
run: tox
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true