This repository was archived by the owner on Mar 25, 2025. It is now read-only.
update tlsn #396
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 | |
# Exclude pushes that are pull request merges | |
paths-ignore: | |
- '**' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.12] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup dependencies | |
run: | | |
./setup_env.sh | |
- name: Run tests | |
run: | | |
source venv/bin/activate | |
poetry run pytest -s tests/ |