Skip to content

Commit

Permalink
Trigger tests on push to devel or main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Apr 9, 2024
1 parent 1a9104d commit 82cb812
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/anaconda_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/anaconda_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pickle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pickle_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
push:
branches: devel
branches: [devel, main]

env:
COMMIT: ${{ inputs.ref || github.event.ref }}
Expand All @@ -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:
Expand Down

0 comments on commit 82cb812

Please sign in to comment.