fix: Remove the default User-Agent to rely on the value dynamically provided by the SDK #607
Workflow file for this run
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
### A CI workflow template that runs linting and python testing | |
name: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt | |
strategy: | |
matrix: | |
python-version: | |
- "3.14" | |
- "3.13" | |
- "3.12" | |
- "3.11" | |
- "3.10" | |
max-parallel: 2 | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 | |
with: | |
version: ">=0.4.0" | |
- name: Test with pytest | |
env: | |
TAP_CIRCLE_CI_TOKEN: ${{ secrets.TAP_CIRCLE_CI_TOKEN }} | |
TAP_CIRCLE_CI_ORG_SLUG: ${{ secrets.TAP_CIRCLE_CI_ORG_SLUG }} | |
run: | | |
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e ${{ matrix.python-version }} | |
- name: Type check with mypy | |
run: | | |
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e typing |