Skip to content

Commit d303d70

Browse files
committed
Update CI to allow builds on Pull Requests
1 parent fe9d8f5 commit d303d70

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ name: PRM-in-XML
77
# Controls when the action will run. Triggers the workflow on:
88
# * push on any branch.
99
# * tag creation for tags beginning with a 'v'
10+
# * pull requests
1011
on:
1112
push:
1213
branches: ["*"]
1314
tags: ["v*"]
14-
# Pull request events happen on pull request state transitions, so we probably don't want this here.
15-
#pull_request:
16-
# branches: ["*"]
15+
pull_request:
16+
types: [opened, reopened, synchronize]
17+
branches: ["*"]
1718

1819
jobs:
1920
test-examples:
@@ -71,6 +72,9 @@ jobs:
7172
test-riscos:
7273
# The type of runner that the job will run on
7374
runs-on: ubuntu-24.04
75+
timeout-minutes: 20
76+
concurrency:
77+
group: riscos-build-server
7478
needs: test-examples # always run after the baseline tests
7579

7680
# Steps represent a sequence of tasks that will be executed as part of the job
@@ -129,6 +133,9 @@ jobs:
129133
export-riscos:
130134
# The type of runner that the job will run on
131135
runs-on: ubuntu-24.04
136+
timeout-minutes: 20
137+
concurrency:
138+
group: riscos-build-server
132139
needs: ["test-riscos", "test-platforms"]
133140

134141
outputs:

0 commit comments

Comments
 (0)