Skip to content

Commit ec4509a

Browse files
author
ddundo
committed
Revert: Do not support scheduled runs on dev branch
1 parent 3fa777e commit ec4509a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/test_suite.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,15 @@ jobs:
3030
name: 'Test suite'
3131
runs-on: ubuntu-latest
3232

33-
strategy:
34-
matrix:
35-
# Run the workflow on master and dev branches if triggered by a schedule event.
36-
# Otherwise, run the workflow on the source branch of the pull request.
37-
branch: ${{ github.event_name == 'schedule' && fromJSON('["master", "dev"]') || fromJSON('["${{ github.head_ref }}"]') }}
38-
fail-fast: false
39-
4033
# Use pygem:latest for master branch and pygem:dev otherwise
4134
container:
4235
image: ghcr.io/pygem-community/pygem:${{ github.ref == 'refs/heads/master' && 'latest' || 'dev' }}
4336
options: --user root
4437

4538
steps:
46-
- name: 'Check out the repo'
39+
- name: 'Checkout the repo'
4740
id: checkout
4841
uses: actions/checkout@v4
49-
with:
50-
ref: ${{ matrix.branch }}
5142

5243
- name: 'Reinstall PyGEM'
5344
run: pip install --break-system-packages -e .

0 commit comments

Comments
 (0)