Skip to content

Commit 302ffa4

Browse files
committed
Trigger tests on push to devel or main branch
1 parent ad5d36c commit 302ffa4

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

.github/workflows/anaconda_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
Python_version_picker:
3030
runs-on: ubuntu-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
python_version: ${{ steps.set-python_version.outputs.python_version }}
3434
steps:

.github/workflows/anaconda_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
Python_version_picker:
3030
runs-on: windows-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
python_version: ${{ steps.set-python_version.outputs.python_version }}
3434
steps:

.github/workflows/intel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -29,7 +29,7 @@ env:
2929
jobs:
3030
Python_version_picker:
3131
runs-on: ubuntu-latest
32-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
32+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3333
outputs:
3434
python_version: ${{ steps.set-python_version.outputs.python_version }}
3535
steps:

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
matrix_prep:
3030
runs-on: ubuntu-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
matrix: ${{ steps.set-matrix.outputs.matrix }}
3434
steps:

.github/workflows/macosx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
Python_version_picker:
3030
runs-on: macos-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
python_version: ${{ steps.set-python_version.outputs.python_version }}
3434
steps:

.github/workflows/pickle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
required: false
2020
type: string
2121
push:
22-
branches: devel
22+
branches: [devel, main]
2323

2424
env:
2525
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -31,7 +31,7 @@ env:
3131
jobs:
3232
Python_version_picker:
3333
runs-on: ubuntu-latest
34-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
34+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3535
outputs:
3636
python_version: ${{ steps.set-matrix.outputs.python_version }}
3737
matrix: ${{ steps.set-matrix.outputs.matrix }}

.github/workflows/pickle_wheel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
Python_version_picker:
3030
runs-on: ubuntu-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
python_version: ${{ steps.set-python_version.outputs.python_version }}
3434
steps:

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
required: false
1717
type: string
1818
push:
19-
branches: devel
19+
branches: [devel, main]
2020

2121
env:
2222
COMMIT: ${{ inputs.ref || github.event.ref }}
@@ -28,7 +28,7 @@ env:
2828
jobs:
2929
Python_version_picker:
3030
runs-on: windows-latest
31-
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel'
31+
if: github.event_name != 'push' || github.repository == 'pyccel/pyccel-cuda'
3232
outputs:
3333
python_version: ${{ steps.set-python_version.outputs.python_version }}
3434
steps:

0 commit comments

Comments
 (0)