Skip to content

GitHub Actions: update setup-python to v5 #79

GitHub Actions: update setup-python to v5

GitHub Actions: update setup-python to v5 #79

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
# use quotes around 3.10, 3.10 as float convert to 3.1
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
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 pip
pip install tox
pip install codecov
- name: Run Tests on Python ${{ matrix.python-version }}
run: |
TOXENV=py$(echo ${{ matrix.python-version }} | sed 's/\.//') tox