updated pyproject information #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run CI test | |
on: | |
push: | |
branches: [devel, main, master, wip] | |
pull_request: | |
workflow_call: | |
env: | |
FORCE_COLOR: "3" | |
jobs: | |
build: | |
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@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- 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 |