From 7687d6ad174298f32a18acad7e40d2d9e2d02140 Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Wed, 7 Aug 2024 12:31:18 +0100 Subject: [PATCH] . --- .github/workflows/wheel2.yaml | 39 ++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/.github/workflows/wheel2.yaml b/.github/workflows/wheel2.yaml index 18585ca2..7a596f68 100644 --- a/.github/workflows/wheel2.yaml +++ b/.github/workflows/wheel2.yaml @@ -1,23 +1,38 @@ name: Build and test Linux wheels +# on: +# pull_request: +# push: +# branches: +# - nightly +# - main +# - release/* +# tags: +# - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ +# workflow_dispatch: + +# concurrency: +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }} +# cancel-in-progress: true + +# permissions: +# id-token: write +# contents: write + + on: - pull_request: push: - branches: - - nightly - - main - - release/* - tags: - - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ - workflow_dispatch: + branches: [ main ] + pull_request: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }} + group: unit-test${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} cancel-in-progress: true -permissions: - id-token: write - contents: write +defaults: + run: + shell: bash -l -eo pipefail {0} + jobs: # generate-matrix: