Update build.yml #2201
Workflow file for this run
This file contains 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
name: build | |
on: push | |
env: | |
DVC_TEST: "true" | |
FORCE_COLOR: "1" | |
DATASET: ${{ (github.event_name == 'schedule' && 'mnist') || github.event.inputs.dataset || 'small' }} | |
REVS: ${{ github.event.inputs.revs || 'main,3.53.2,3.10.0,2.58.2' }} | |
# run on small set of revisions for clouds | |
CLOUD_REVS: ${{ github.event.inputs.revs || 'main,3.53.2' }} | |
DVC_REPOSITORY: iterative/dvc | |
DVC_REF: ${{ github.event.inputs.host_dvc_rev || 'main' }} | |
DVC_AZURE_REPOSITORY: iterative/dvc-azure | |
DVC_AZURE_REF: main | |
DVC_GS_REPOSITORY: iterative/dvc-gs | |
DVC_GS_REF: main | |
DVC_S3_REPOSITORY: iterative/dvc-s3 | |
DVC_S3_REF: main | |
UV_SYSTEM_PYTHON: true | |
TESTS_TO_RUN: ${{ github.event.inputs.tests_to_run || '' }} | |
CPROFILE_ARGS: ${{ github.event.inputs.cprofile == 'true' && '--benchmark-cprofile-dump' || '' }} | |
permissions: | |
contents: read | |
jobs: | |
build_gs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 480 | |
continue-on-error: true | |
environment: google-cloud | |
permissions: | |
id-token: write | |
steps: | |
- id: 'auth' | |
name: 'Authenticate to GCP' | |
uses: 'google-github-actions/auth@v2.1.5' | |
with: | |
workload_identity_provider: 'projects/385088528371/locations/global/workloadIdentityPools/github/providers/github' | |
service_account: 'dvc-bench@iterative-sandbox.iam.gserviceaccount.com' | |
- run: | | |
pip3 install fsspec gcsfs | |
python3 -c 'from fsspec import filesystem; print(filesystem("gcs").ls("gs://dvc-bench"))' |