Skip to content

Move from setup.cfg to pyproject.toml #26

Move from setup.cfg to pyproject.toml

Move from setup.cfg to pyproject.toml #26

Workflow file for this run

name: Linters/Tests
on: pull_request
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install
lint:
name: Run black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install black
run: |
pip install black
- name: test
run: |
black . --diff --color --exclude migration