Support disabling telemetry with an environment variable, load dotenv on run_project #169
Workflow file for this run
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: | |
- '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 |