feat: added checking formatting workflow #1
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: check_lint | |
on: | |
push: | |
pull_request: | |
concurrency: | |
group: check-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Check formatting | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup python for test py3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: py3.11 | |
- name: Install tox | |
run: python -m pip install '.[test]' | |
- name: Run test suite | |
run: tox -e lint |