diff --git a/.github/workflows/ci-beta.yml b/.github/workflows/ci-beta.yml deleted file mode 100644 index 5b30267e7..000000000 --- a/.github/workflows/ci-beta.yml +++ /dev/null @@ -1,138 +0,0 @@ -# Beta-tier proxy, BHoM variant. Bundles the tier's checks plus -# copyright-compliance (BHoM enforces OSS copyright; the BHE variant omits it). -# Copy to .github/workflows/ci-beta.yml in each BHoM beta repo. -# Runs on pull_request, non-blocking until a ruleset requires its checks. -# Workflow name CI keeps check contexts bare: required contexts are the job names. - -name: CI - -on: - pull_request: - branches: - - develop - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} - cancel-in-progress: true - -jobs: - ci-build: - runs-on: windows-2025-vs2026 - timeout-minutes: 30 - steps: - - name: Run build - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-build@develop - with: - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-code-compliance: - runs-on: windows-2025-vs2026 - timeout-minutes: 20 - permissions: - contents: read - pull-requests: read - actions: write - steps: - - name: Run code compliance - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop - with: - check_type: code - patterns: '*.cs' - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-copyright-compliance: - runs-on: windows-2025-vs2026 - timeout-minutes: 20 - permissions: - contents: read - pull-requests: read - actions: write - steps: - - name: Run copyright compliance - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop - with: - check_type: copyright - patterns: '*.cs' - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-dataset-compliance: - runs-on: windows-2025-vs2026 - timeout-minutes: 20 - permissions: - contents: read - pull-requests: read - actions: write - steps: - - name: Run dataset compliance - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop - with: - check_type: dataset - patterns: '**/*[Dd]atasets*/**/*.json **/*[Dd]atasets*.json' - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-documentation-compliance: - runs-on: windows-2025-vs2026 - timeout-minutes: 20 - permissions: - contents: read - pull-requests: read - actions: write - steps: - - name: Run documentation compliance - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop - with: - check_type: documentation - patterns: '*.cs' - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-project-compliance: - runs-on: windows-2025-vs2026 - timeout-minutes: 20 - permissions: - contents: read - pull-requests: read - actions: write - steps: - - name: Run project compliance - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-compliance@develop - with: - check_type: project - patterns: 'AssemblyInfo.cs *.csproj' - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-dataset-tests: - runs-on: windows-2025-vs2026 - timeout-minutes: 30 - steps: - - name: Run dataset tests - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-dataset-tests@develop - with: - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - - ci-serialisation: - runs-on: windows-2025-vs2026 - timeout-minutes: 90 - steps: - - name: Run serialisation - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-serialisation@develop - with: - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} - base_ref: ${{ github.base_ref }} - - ci-versioning: - runs-on: windows-2025-vs2026 - timeout-minutes: 90 - steps: - - name: Run versioning - uses: BuroHappoldEngineeringAdmin/CI_Toolkit/.github/actions/ci-versioning@develop - with: - app_id: ${{ secrets.BHOM_APP_ID }} - private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} diff --git a/.github/workflows/validate-altconfig.yml b/.github/workflows/validate-altconfig.yml new file mode 100644 index 000000000..5fec53675 --- /dev/null +++ b/.github/workflows/validate-altconfig.yml @@ -0,0 +1,16 @@ +# Sandbox validation harness for the alt-config widening of the versioning subject set. +# Other workflows are removed on this branch so only the check under test runs. +name: Validate altConfig widening + +on: + pull_request: + +jobs: + ci-versioning: + runs-on: windows-latest + timeout-minutes: 90 + steps: + - name: Run versioning + uses: BuroHappoldEngineeringSandbox/CI_Toolkit/.github/actions/ci-versioning@validate/altconfig-widening + with: + fallback_token: ${{ github.token }} diff --git a/Revit_Engine/Query/Discipline.cs b/Revit_Engine/Query/Discipline.cs index 66eca4bb2..44b926a68 100644 --- a/Revit_Engine/Query/Discipline.cs +++ b/Revit_Engine/Query/Discipline.cs @@ -109,3 +109,4 @@ public static Discipline Discipline(this Type type) +