Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 8 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: '3.10'
- name: Lint with flake8
run: |
pip install flake8
Expand All @@ -51,35 +51,23 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-20.04
python-version: '3.5'
toxenv: py35
- os: ubuntu-20.04
python-version: '3.6'
toxenv: py36
- os: ubuntu-20.04
python-version: '3.7'
toxenv: py37
- os: ubuntu-20.04
python-version: '3.8'
toxenv: py38
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: '3.9'
toxenv: py39
- os: ubuntu-20.04
- os: ubuntu-22.04
python-version: '3.10'
toxenv: py310
- os: macos-15
python-version: '3.10'
toxenv: py310
- os: macos-11
python-version: '3.7'
toxenv: py37

env:
# Configure pkg-config to use OpenSSL from Homebrew
PKG_CONFIG_PATH: /usr/local/opt/openssl@1.1/lib/pkgconfig
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}
timeout-minutes: 40
timeout-minutes: 360

steps:
- uses: actions/checkout@v2
Expand All @@ -91,7 +79,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.d/development.lock.txt') }}
Expand Down
1 change: 1 addition & 0 deletions requirements.d/development.lock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pip==20.3.4
virtualenv==20.13.1
tox==3.24.5
pytest==6.1.2; python_version < '3.10'
pytest==8.4.2; python_version >= '3.10'
pytest-xdist==2.2.1
pytest-cov==2.12.1
pytest-benchmark==3.4.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.d/development.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ setuptools_scm
pip
virtualenv
tox
pytest
pytest < 9.0.0
pytest-xdist
pytest-cov
pytest-benchmark
Expand Down
Loading