Skip to content

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

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. #373

Workflow file for this run

name: Python Tests
on:
push:
branches:
- main
paths:
- 'agentstack/**/*.py'
- 'agentstack/**/*.ipynb'
- 'tests/**/*.py'
- 'tests/**/*.ipynb'
pull_request:
branches:
- main
paths:
- 'agentstack/**/*.py'
- 'agentstack/**/*.ipynb'
- 'tests/**/*.py'
- 'tests/**/*.ipynb'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10,3.11,3.12]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11' # Use a default Python version for running tox
- name: Install tox
run: pip install tox
- name: Run tests with tox
run: tox