Skip to content

Bump ufmt from 2.6.0 to 2.7.0 (#305) #766

Bump ufmt from 2.6.0 to 2.7.0 (#305)

Bump ufmt from 2.6.0 to 2.7.0 (#305) #766

Workflow file for this run

name: Build
on:
push:
branches:
- main
- tmp-*
tags:
- v*
pull_request:
jobs:
usort:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
cache: pip
cache-dependency-path: pyproject.toml
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -VV
python -m pip install -U pip
python -m pip install -U .[dev]
- name: Test
run: make test
- name: Lint
run: make lint
backward-compatibility:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Check backwards compatibility
shell: bash
run: |
python -m pip install -U pip packaging
make backcompat
docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -VV
python -m pip install -U .[docs]
- name: Build sphinx docs
shell: bash
run: make html