run-tests.yml
This file
Path
.github/workflows/run-tests.yml
71 lines · 1.8 KiB · YAML
Last changed by
Merge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172name: Tests
on: [push, pull_request]
permissions: contents: read
jobs: build: runs-on: ${{ matrix.os }} timeout-minutes: 10 strategy: fail-fast: false matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9", "pypy-3.10"] os: [ubuntu-22.04, macOS-latest, windows-latest]
steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ matrix.python-version }} cache: 'pip' allow-prereleases: true - name: Install dependencies run: | make - name: Run tests run: | make ci
no_chardet: name: "No Character Detection" runs-on: ubuntu-latest strategy: fail-fast: true
steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 - name: 'Set up Python 3.8' uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 with: python-version: '3.8' - name: Install dependencies run: | make python -m pip uninstall -y "charset_normalizer" "chardet" - name: Run tests run: | make ci
urllib3: name: 'urllib3 1.x' runs-on: 'ubuntu-latest' strategy: fail-fast: true
steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 - name: 'Set up Python 3.8' uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 with: python-version: '3.8' - name: Install dependencies run: | make python -m pip install "urllib3<2" - name: Run tests run: | make ci