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