Skip to content

Added GLTF support

Added GLTF support #61

name: tests
on:
push:
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
- 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
# - uses: conda-incubator/setup-miniconda@v2
# with:
# miniconda-version: "latest"
# python-version: 3.8
# activate-environment: test
# - name: Install CadQuery and pytest
# shell: bash --login {0}
# run: |
# conda info
# conda install -c cadquery -c conda-forge cadquery=master ocp=7.5.2 python=3.8
# conda install -c anaconda pytest
# - name: Run tests
# shell: bash --login {0}
# run: |
# conda info
# pytest -v
run-pytest-win:
runs-on: "windows-latest"
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- 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