cleanup unused vars and remove unnecessary "dest" from parser.add_argument() #36
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: check-pr-commit | |
on: | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- 'cq-cli_pyinstaller.spec' | |
- '.github/workflows/pyinstaller-builds-actions.yml' | |
jobs: | |
run-pytest: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install CadQuery and pytest | |
shell: bash --login {0} | |
run: | | |
pip install --upgrade pip | |
pip install --pre git+https://github.com/CadQuery/cadquery.git | |
pip install pytest | |
- name: Run tests | |
shell: bash --login {0} | |
run: | | |
pytest -v | |
# run-pytest-macos: | |
# runs-on: macos-latest | |
# strategy: | |
# matrix: | |
# python-version: ["3.10"] | |
# steps: | |
# - uses: actions/checkout@v2 | |
# with: | |
# ref: ${{ github.event.pull_request.head.sha }} | |
# - name: Install CadQuery and pytest | |
# shell: bash --login {0} | |
# run: | | |
# python3 -m ensurepip | |
# pip3 install --upgrade pip | |
# pip3 install --pre git+https://github.com/CadQuery/cadquery.git | |
# pip3 install pytest | |
# - name: Run tests | |
# shell: bash --login {0} | |
# run: | | |
# pytest -v | |
run-pytest-win: | |
runs-on: "windows-latest" | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install CadQuery and pytest | |
shell: pwsh | |
run: | | |
pip install --upgrade pip | |
pip install --pre git+https://github.com/CadQuery/cadquery.git | |
pip install pytest | |
- name: Run tests | |
shell: pwsh | |
run: | | |
pytest -v |