Skip to content

bump to v28.0.0-alpha.7 #20

bump to v28.0.0-alpha.7

bump to v28.0.0-alpha.7 #20

Workflow file for this run

name: pr
on:
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changed-files:
name: changed-files
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changed-files-yaml.outputs.src_any_changed }}
steps:
- uses: actions/checkout@v4
- id: changed-files-yaml
uses: tj-actions/changed-files@v44
with:
files_yaml: |
src:
- setup.cfg.template
- MANIFEST.in
- '**/*.py'
test:
needs: changed-files
if: ${{ needs.changed-files.outputs.src == 'true' }}
name: test-on-${{ matrix.os }}-python-${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
python-version: "3.12"
- os: ubuntu-latest
python-version: "3.10"
- os: ubuntu-latest
python-version: "3.11"
- os: ubuntu-latest
python-version: "3.12"
- os: macos-latest
python-version: "3.10"
- os: macos-latest
python-version: "3.11"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: |
python3 -m pip install -U mypy numpy forbiddenfruit build wheel pytest pytest-asyncio pytest-xdist matplotlib ruff
python3 x.py build --no-install
python3 x.py test
all-tests-passed:
if: ${{ always() }}
name: all-tests-passed
runs-on: ubuntu-latest
needs: test
steps:
- if: ${{ needs.test.result == 'failure' || needs.test.result == 'cancelled' }}
run: exit 1