Skip to content

Bump actions/setup-python from 4.7.0 to 4.7.1 #268

Bump actions/setup-python from 4.7.0 to 4.7.1

Bump actions/setup-python from 4.7.0 to 4.7.1 #268

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
workflow_call:
jobs:
beefore:
name: Pre-test checks
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
task:
- 'flake8'
- 'towncrier-check'
- 'docs'
- 'package'
steps:
# Fetch main branch for comparison, then check out current branch.
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4.7.1
with:
python-version: 3.X
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade setuptools
pip install --upgrade tox
- name: Run pre-test check
run: |
tox -e ${{ matrix.task }}
python-versions:
name: Python compatibility test
needs: beefore
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev"]
include:
- experimental: false
- python-version: "3.12-dev"
experimental: true
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
python -m pip install tox
- name: Test
run: |
tox -e py