From cb742492aa6e7ced716baaf0cbcf0bd6c1c79111 Mon Sep 17 00:00:00 2001 From: EmilyBourne Date: Mon, 11 Mar 2024 11:41:27 +0100 Subject: [PATCH] Trigger tests on push to devel or main branch --- .github/workflows/anaconda_linux.yml | 4 ++-- .github/workflows/anaconda_windows.yml | 4 ++-- .github/workflows/intel.yml | 4 ++-- .github/workflows/linux.yml | 4 ++-- .github/workflows/macosx.yml | 4 ++-- .github/workflows/pickle.yml | 4 ++-- .github/workflows/pickle_wheel.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/anaconda_linux.yml b/.github/workflows/anaconda_linux.yml index c7e04a37da..8173b4f7a4 100644 --- a/.github/workflows/anaconda_linux.yml +++ b/.github/workflows/anaconda_linux.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: Python_version_picker: runs-on: ubuntu-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: diff --git a/.github/workflows/anaconda_windows.yml b/.github/workflows/anaconda_windows.yml index 70bf150b1a..5cd222511d 100644 --- a/.github/workflows/anaconda_windows.yml +++ b/.github/workflows/anaconda_windows.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: Python_version_picker: runs-on: windows-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index d45beb3d8b..96b614f0fb 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -29,7 +29,7 @@ env: jobs: Python_version_picker: runs-on: ubuntu-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 29239db9b6..3fbf76d70a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: matrix_prep: runs-on: ubuntu-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: diff --git a/.github/workflows/macosx.yml b/.github/workflows/macosx.yml index 1d4d4fd562..c5396fbe7c 100644 --- a/.github/workflows/macosx.yml +++ b/.github/workflows/macosx.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: Python_version_picker: runs-on: macos-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: diff --git a/.github/workflows/pickle.yml b/.github/workflows/pickle.yml index b20fe1a93f..47663b6b2f 100644 --- a/.github/workflows/pickle.yml +++ b/.github/workflows/pickle.yml @@ -19,7 +19,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -31,7 +31,7 @@ env: jobs: Python_version_picker: runs-on: ubuntu-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-matrix.outputs.python_version }} matrix: ${{ steps.set-matrix.outputs.matrix }} diff --git a/.github/workflows/pickle_wheel.yml b/.github/workflows/pickle_wheel.yml index ce530a238f..450cb250be 100644 --- a/.github/workflows/pickle_wheel.yml +++ b/.github/workflows/pickle_wheel.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: Python_version_picker: runs-on: ubuntu-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 03cecaab64..14ba9ddf31 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -16,7 +16,7 @@ on: required: false type: string push: - branches: devel + branches: [devel, main] env: COMMIT: ${{ inputs.ref || github.event.ref }} @@ -28,7 +28,7 @@ env: jobs: Python_version_picker: runs-on: windows-latest - if: github.event_name != 'push' || github.repository == 'pyccel/pyccel' + if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda' outputs: python_version: ${{ steps.set-python_version.outputs.python_version }} steps: