Explicitly adding casadi to the hidden imports #47
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: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10"] | |
os: [ubuntu-latest, windows-latest] # , macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Dependencies (Linux) | |
run: sudo apt-get update && sudo apt install -y libgl1-mesa-glx | |
if: matrix.os == 'ubuntu-latest' | |
- uses: actions/checkout@v2 | |
- name: Install CadQuery and pytest | |
run: | | |
pip3 install --upgrade pip | |
pip3 install -e . | |
pip3 install -e .[dev] | |
- name: Run tests | |
run: | | |
python3 -m pytest -v |