8000 Merge remote-tracking branch 'origin/drop-python3.8' into drop-python3.8 · cloudevents/sdk-python@4cd705d · GitHub
[go: up one dir, main page]

Skip to content

Merge remote-tracking branch 'origin/drop-python3.8' into drop-python3.8 #973

Merge remote-tracking branch 'origin/drop-python3.8' into drop-python3.8

Merge remote-tracking branch 'origin/drop-python3.8' into drop-python3.8 #973

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: 'requirements/*.txt'
- name: Install dev dependencies
run: python -m pip install -r requirements/dev.txt
- name: Run linting
run: python -m tox -e lint,mypy,mypy-samples-image,mypy-samples-json
test:
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
cache-dependency-path: 'requirements/*.txt'
- name: Install dev dependencies
run: python -m pip install -r requirements/dev.txt
- name: Run tests
run: python -m tox -e py # Run tox using the version of Python in `PATH`
0