mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
8bce583b95
Formally removing any remaining vestiges of Python 2 from Requests. We'll also leave behind Python 3.6 while we're at it.
36 lines
914 B
YAML
36 lines
914 B
YAML
name: Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
timeout-minutes: 10
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
|
os: [ubuntu-18.04, macOS-latest, windows-latest]
|
|
include:
|
|
# pypy-3.7 on Mac OS currently fails trying to compile
|
|
# brotlipy. Moving pypy3 to only test linux.
|
|
- python-version: pypy-3.7
|
|
os: ubuntu-latest
|
|
experimental: false
|
|
- python-version: 3.11-dev
|
|
os: ubuntu-latest
|
|
experimental: true
|
|
|
|
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 dependencies
|
|
run: |
|
|
make
|
|
- name: Run tests
|
|
run: |
|
|
make ci
|