Skip to content

Fix FreeCAD Tests (#41) #37

Fix FreeCAD Tests (#41)

Fix FreeCAD Tests (#41) #37

Workflow file for this run

name: Test FreeCAD
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Install and Test
run: |
conda create -y -n freecad -c conda-forge python=3.11 freecad=0.21.2 cadquery
conda init bash
source /usr/share/miniconda/bin/activate
conda activate freecad
python -m pip install --upgrade pip
pip install -e . --no-deps
pip install cadquery_freecad_import_plugin
pip install -e .[dev]
pip install pytest-xvfb
python -m pytest -v tests/test_freecad.py