WIP cli tool #389
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Tests | |
environment: ci | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
continue-on-error: false | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
cache: 'poetry' | |
- name: Install deps | |
run: poetry install | |
- name: Run tests | |
env: | |
STREAM_BASE_URL: ${{ vars.STREAM_BASE_URL }} | |
STREAM_API_KEY: ${{ vars.STREAM_API_KEY }} | |
STREAM_API_SECRET: ${{ secrets.STREAM_API_SECRET }} | |
run: poetry run pytest tests/ getstream/ |