Restructure the Project to Follow Best Python Packaging Practices #8
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: lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-black-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install CadQuery and pytest | |
shell: bash --login {0} | |
run: | | |
pip install --upgrade pip | |
pip install -e . | |
pip install -e .[dev] | |
- name: Run tests | |
shell: bash --login {0} | |
run: | | |
black --diff --check . |