Merge pull request #191 from benavlabs/add-analytics-to-docs #41
This file contains hidden or 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: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Install uv | |
| run: pip install uv | |
| - name: Create venv | |
| run: uv venv | |
| - name: Install package with dev dependencies | |
| run: uv pip install -e ".[dev]" | |
| - name: Run tests | |
| run: uv run pytest | |
| env: | |
| ENVIRONMENT: local | |
| SECRET_KEY: test-secret-key-for-testing-only |