Skip to content

Dataset Validation and Verification #1011

Dataset Validation and Verification

Dataset Validation and Verification #1011

name: Dataset Validation and Verification
permissions:
contents: read
on:
workflow_dispatch:
inputs:
test-run:
description: "Indicate this is a test run (with few entries)"
required: false
default: true
type: boolean
schedule:
- cron: "0 0 * * 0" # Weekly on Sundays at midnight
jobs:
get-entries:
uses: ./.github/workflows/get-entries.yml
with:
modified-only: false
test-run: ${{ inputs.test-run || false }}
verify-build-and-tests:
runs-on: [self-hosted, 1ES.Pool=GitHub-BCBench]
needs: get-entries
if: needs.get-entries.outputs.entries != '[]'
environment:
name: ado-read
deployment: false
permissions:
contents: read
id-token: write
name: ${{ matrix.entry }}
strategy:
fail-fast: false
matrix:
entry: ${{ fromJson(needs.get-entries.outputs.entries) }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup BC container
id: setup-env
timeout-minutes: 40
uses: ./.github/actions/setup-bc-container
with:
instance-id: ${{ matrix.entry }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run build and test verification for ${{ matrix.entry }}
timeout-minutes: 60
run: .\scripts\Verify-BuildAndTests.ps1 -InstanceId "${{ matrix.entry }}" -RepoPath "${{ steps.setup-env.outputs.repo_path }}"
shell: pwsh