diff --git a/.github/workflows/apply-clang-format.yml b/.github/workflows/apply-clang-format.yml deleted file mode 100644 index 5d0389b7e..000000000 --- a/.github/workflows/apply-clang-format.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Apply clang-format to PR - -on: - pull_request: - types: [labeled] - -jobs: - clang-format: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@testing - with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/build-test-cxx-cuda.yml b/.github/workflows/build-test-cxx-cuda.yml index 61287e213..2c0fc07ef 100644 --- a/.github/workflows/build-test-cxx-cuda.yml +++ b/.github/workflows/build-test-cxx-cuda.yml @@ -6,6 +6,10 @@ env: itk-git-tag: "v5.4.0" itk-module-deps: "CudaCommon@cae7c93c2f6d4c5b3cb5f6e5ce4a97686e626bf7" +concurrency: + group: '${{ github.workflow }}@${{ github.head_ref || github.run_id }}' + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build-test-cxx: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/build-test-package-python-cuda.yml b/.github/workflows/build-test-package-python-cuda.yml index 8e8b370c2..0623b39db 100644 --- a/.github/workflows/build-test-package-python-cuda.yml +++ b/.github/workflows/build-test-package-python-cuda.yml @@ -8,13 +8,17 @@ env: itk-python-package-org: 'SimonRit' itk-module-deps: "RTKConsortium/ITKCudaCommon@cae7c93c2f6d4c5b3cb5f6e5ce4a97686e626bf7" +concurrency: + group: '${{ github.workflow }}@${{ github.head_ref || github.run_id }}' + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: build-linux-cuda-python-packages: runs-on: self-hosted-linux strategy: max-parallel: 2 matrix: - python3-minor-version: ["8","9","10","11"] + python3-minor-versions: ${{ github.event_name == 'pull_request' && '["11"]' || '["9","10","11"]' }} manylinux-platform: ["_2_28-x64","2014-x64"] cuda-version: ["116","121"] diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 2546d8797..d949aa92c 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -2,6 +2,10 @@ name: Build, test, package on: [push,pull_request] +concurrency: + group: '${{ github.workflow }}@${{ github.head_ref || github.run_id }}' + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: cxx-build-workflow: uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0 @@ -12,5 +16,6 @@ jobs: cmake-options: '-DRTK_BUILD_APPLICATIONS:BOOL=OFF' itk-python-package-org: 'SimonRit' itk-python-package-tag: '45cfd02a22661731ca5b155f210cfa2f887d50e7' + python3-minor-versions: ${{ github.event_name == 'pull_request' && '["11"]' || '["9","10","11"]' }} secrets: pypi_password: ${{ secrets.pypi_password }}