Skip to content

ci: use PAT for commitizen release prs to ensure CI runs (#11) #33

ci: use PAT for commitizen release prs to ensure CI runs (#11)

ci: use PAT for commitizen release prs to ensure CI runs (#11) #33

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- "*"
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name != 'pull_request' && github.sha || '' }}
cancel-in-progress: true
jobs:
lint:
name: ${{ matrix.tox.name }}
runs-on: [ubuntu-latest]
strategy:
fail-fast: false
matrix:
tox:
- name: codespell
environment: codespell
- name: mypy
environment: mypy
- name: ruff
environment: ruff
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install test dependencies
run: |
python -m pip install tox
- name: Run ${{ matrix.tox.name }} in lint
run: |
python -m tox -e ${{ matrix.tox.environment }}