only do import of ifcopenshell as means of testing and rely on the successful completion of ci.yml as a triggering mechanism instead

This commit is contained in:
krande
2022-04-17 21:08:37 +02:00
parent f7f88532ad
commit c81c4d517c
3 changed files with 27 additions and 12 deletions
+6
View File
@@ -8,6 +8,12 @@ on:
- .github/workflows/ci-daily-build.yml - .github/workflows/ci-daily-build.yml
branches: branches:
- pr-daily-builds - pr-daily-builds
# Only trigger, when the build workflow succeeded
workflow_run:
workflows: ["ci"]
types:
- completed
jobs: jobs:
test: test:
name: ${{ matrix.platform.distver }}-${{ matrix.pyver.name }} name: ${{ matrix.platform.distver }}-${{ matrix.pyver.name }}
+11
View File
@@ -0,0 +1,11 @@
compile:
conda activate condabuild && conda-build -c conda-forge . --keep-old-work --python 3.10.4
debug:
conda activate condabuild && conda-debug -c conda-forge . --python 3.10.4
install:
conda env create -f environment.yml
update:
conda env update -n conda-build --file environment.yml --prune
+10 -12
View File
@@ -54,18 +54,16 @@ test:
- lark - lark
- networkx - networkx
- xmlschema - xmlschema
source_files: #source_files:
- test # - src/ifcopenshell-python/test/api
- src/ifcopenshell-python/test/api # - src/ifcopenshell-python/test/util
- src/ifcopenshell-python/test/util # - src/ifcopenshell-python/test/bootstrap.py
- src/ifcopenshell-python/test/bootstrap.py # - src/ifcopenshell-python/test/test_file.py
- src/ifcopenshell-python/test/test_file.py # - src/ifcopenshell-python/test/test_wall_opening.py
- src/ifcopenshell-python/test/test_wall_opening.py # - src/ifcopenshell-python/test/__init__.py
- src/ifcopenshell-python/test/__init__.py #commands:
commands: # #- pip install bcf-client
#- pip install bcf-client # - cd ../src/ifcopenshell-python/test && pytest -p no:pytest-blender
#- cd test && python tests.py
#- cd ../src/ifcopenshell-python/test && pytest -p no:pytest-blender
about: about:
home: http://ifcopenshell.org home: http://ifcopenshell.org