Skip to content

Add user_agent_comment option and set to "OpenCage CLI" for CLI requests #137

Add user_agent_comment option and set to "OpenCage CLI" for CLI requests

Add user_agent_comment option and set to "OpenCage CLI" for CLI requests #137

Workflow file for this run

name: build
on:
push:
pull_request:
schedule:
- cron: "11 22 2 * *"
jobs:
tox:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
py:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install