File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This file was generated with the assistance of an AI coding tool.
2+
3+ name : Tests
4+
5+ on :
6+ push :
7+ pull_request :
8+ workflow_dispatch :
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ pytest :
15+ runs-on : ubuntu-latest
16+ timeout-minutes : 10
17+
18+ steps :
19+ - name : Check out repository
20+ uses : actions/checkout@v6
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@v6
24+ with :
25+ python-version : " 3.10"
26+
27+ - name : Install test dependencies
28+ run : python -m pip install "ifcopenshell[advanced]" pytest pyparsing
29+
30+ - name : Install the checked-out MVD modules
31+ shell : bash
32+ run : |
33+ package_dir="$(python -c 'import ifcopenshell, pathlib; print(pathlib.Path(ifcopenshell.__file__).parent / "mvd")')"
34+ cp ./*.py "$package_dir/"
35+
36+ - name : Run tests
37+ working-directory : tests
38+ run : python -m pytest .
You can’t perform that action at this time.
0 commit comments