test: add tests for stream_usage and token tracking #1081
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: PR Tests | |
on: | |
push: | |
pull_request: | |
# we don't ignore markdkowns to run pre-commits | |
paths-ignore: | |
- ".github/**" | |
jobs: | |
pr-tests-matrix: | |
strategy: | |
matrix: | |
os: [Ubuntu] | |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
include: | |
- os: Ubuntu | |
image: ubuntu-latest | |
fail-fast: false | |
uses: ./.github/workflows/_test.yml | |
with: | |
os: ${{ matrix.os }} | |
image: ${{ matrix.image }} | |
python-version: ${{ matrix.python-version }} | |
pr-tests-summary: | |
name: PR Tests Summary | |
needs: pr-tests-matrix | |
runs-on: ubuntu-latest | |
steps: | |
- name: Confirm all PR tests passed | |
run: echo "All PR Tests completed successfully" |