Onboard new CI checks (beta tier) #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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: | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} | |
| 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 }} |