Skip to content

Do not run the Test CI for PRs marked as draft #72

Do not run the Test CI for PRs marked as draft

Do not run the Test CI for PRs marked as draft #72

Workflow file for this run

name: run CI test
on:
push:
branches: [devel, main, master, wip]
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
workflow_call:
env:
FORCE_COLOR: "3"
jobs:
build:
if: github.event.pull_request.draft == false
name: test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: 3.11
- uses: actions/setup-python@v6
with:
python-version: 3.13
- name: install requirements
run: python -m pip install nox pre-commit
- name: run pre-commit
if: ${{ matrix.os == 'ubuntu-latest' }}
run: pre-commit run --all --show-diff-on-failure
- name: run tests
run: nox