Skip to content

Commit 6a6076a

Browse files
authored
Fix FreeCAD Tests (#41)
* Tests run fine locally, so trying xvfb plugin in CI * Manually installing CadQuery dependencies * Moving away from git for CadQuery install * Trying to install dependencies differently in conda
1 parent e7a2d9b commit 6a6076a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/test_freecad.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ jobs:
1111

1212
- name: Install and Test
1313
run: |
14-
conda create -y -n freecad -c conda-forge python=3.11 freecad=0.21.2
14+
conda create -y -n freecad -c conda-forge python=3.11 freecad=0.21.2 cadquery
1515
conda init bash
1616
source /usr/share/miniconda/bin/activate
1717
conda activate freecad
1818
python -m pip install --upgrade pip
19-
unset CONDA_PREFIX_1
20-
pip install -e .
19+
pip install -e . --no-deps
20+
pip install cadquery_freecad_import_plugin
2121
pip install -e .[dev]
22+
pip install pytest-xvfb
2223
python -m pytest -v tests/test_freecad.py

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "cq_cli"
6+
name = "cadquery-cli"
77
version = "2.3.0"
88
license = {file = "LICENSE"}
99
authors = [
@@ -17,7 +17,7 @@ classifiers = [
1717
"Operating System :: OS Independent",
1818
]
1919
dependencies = [
20-
"cadquery@git+https://github.com/CadQuery/cadquery.git",
20+
"cadquery",
2121
"cadquery_freecad_import_plugin"
2222
]
2323

0 commit comments

Comments
 (0)