File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ test :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v3
11+
12+ - name : Set up Python
13+ uses : actions/setup-python@v4
14+ with :
15+ python-version : ' 3.11'
16+
17+ - name : Cache pip packages
18+ uses : actions/cache@v3
19+ with :
20+ path : ~/.cache/pip
21+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
22+ restore-keys : |
23+ ${{ runner.os }}-pip-
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install -r requirements.txt
29+ pip install -r requirements-dev.txt
30+
31+ - name : Make IfcConvert executable
32+ run : |
33+ chmod +x src/bim2fem/bim2glb/ifc_convert/linux/IfcConvert
34+
35+ - name : Run tests
36+ run : |
37+ pytest tests/ -v --tb=short
You can’t perform that action at this time.
0 commit comments