Refactor Session class and add independent get_analytics method #994
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: | |
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@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 |