diff --git a/conda/meta.yaml b/conda/meta.yaml index e4705b50dd..975e27e493 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -44,12 +44,13 @@ requirements: test: imports: - ifcopenshell + requires: + - pytest + - pytest-cov source_files: - test - src/ifcopenshell-python - commands: - - cd test && python tests.py - - cd src/ifcopenshell-python && mv ifcopenshell ifcopenshell-local && make test + about: home: http://ifcopenshell.org license: LGPL-3.0-or-later diff --git a/conda/run_test.bat b/conda/run_test.bat new file mode 100644 index 0000000000..2e2f4d8b44 --- /dev/null +++ b/conda/run_test.bat @@ -0,0 +1,2 @@ +cd test && python tests.py +cd ../src/ifcopenshell-python && mv ifcopenshell ifcopenshell-local && make test \ No newline at end of file diff --git a/conda/run_test.sh b/conda/run_test.sh new file mode 100644 index 0000000000..17f1cbefb4 --- /dev/null +++ b/conda/run_test.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd test && python tests.py +cd ../src/ifcopenshell-python && mv ifcopenshell ifcopenshell-local && make test