[FEAT] TaskWeaver Integration #1244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'agentops/**/*.py' | |
- 'agentops/**/*.ipynb' | |
- 'tests/**/*.py' | |
- 'tests/**/*.ipynb' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'agentops/**/*.py' | |
- 'agentops/**/*.ipynb' | |
- 'tests/**/*.py' | |
- 'tests/**/*.ipynb' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
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 |