Use ruff for code formatting (like Black), test against Python 3.12 #171
Workflow file for this run
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: Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
PIP_DISABLE_PIP_VERSION_CHECK: '1' | |
PY_COLORS: '1' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- ruff | |
- package | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install build tools | |
run: | | |
python -m pip install tox wheel | |
- name: Run ${{ matrix.env }} | |
run: tox run -e ${{ matrix.env }} |