Skip to content

Update Ubuntu workflow build image from 20.04 to ubuntu-latest #350

Update Ubuntu workflow build image from 20.04 to ubuntu-latest

Update Ubuntu workflow build image from 20.04 to ubuntu-latest #350

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 4
matrix:
# https://help.github.com/articles/virtual-environments-for-github-actions
platform:
- ubuntu-latest
- macos-latest
- windows-latest
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade setuptools pip wheel pytest mock requests
- name: Test with pytest
run: pytest -rp