brown-street/.github/workflows/ifc-lint.yml
Bruno Postle f0a6c4f8dd
Some checks are pending
IDS Compliance Check / ids-lint (push) Waiting to run
IFC Validation / lint-ifc (push) Waiting to run
Github IFC validation and IDS checking
2025-10-22 21:25:51 +01:00

32 lines
658 B
YAML

name: IFC Validation
on:
push:
pull_request:
jobs:
lint-ifc:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install ifcopenshell
run: |
pip install pytest
pip install ifcopenshell
- name: Run IFC lint checks
run: |
set -e
shopt -s globstar nullglob
for file in **/*.ifc; do
echo "Validating $file..."
python3 -m ifcopenshell.validate --rules "$file"
done