Skip to content

Support HTTPX 0.28 (#336) #102

Support HTTPX 0.28 (#336)

Support HTTPX 0.28 (#336) #102

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags-ignore:
- "*"
pull_request:
jobs:
matrix:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: Python ${{matrix.python-version}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -r requirements/tests
pip install .
- name: Run test suite
run: pytest
full-build:
name: User-authorised tox suite with coverage
runs-on: ubuntu-latest
env:
SPOTIFY_CLIENT_ID: ${{secrets.SPOTIFY_CLIENT_ID}}
SPOTIFY_CLIENT_SECRET: ${{secrets.SPOTIFY_CLIENT_SECRET}}
SPOTIFY_REDIRECT_URI: ${{secrets.SPOTIFY_REDIRECT_URI}}
SPOTIFY_USER_REFRESH: ${{secrets.SPOTIFY_USER_REFRESH}}
TEKORE_TEST_SKIP_IS_FAIL: True
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.13"
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -r requirements/dev
pip install .
- name: Run tox
run: tox