Skip to content

Commit 3ad1e26

Browse files
committed
Update CI to only run platform tests on git push events
1 parent 44319ea commit 3ad1e26

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.gitlab/ci/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Code Climate:
5959
codequality: gl-code-quality-report.json
6060

6161
.standard-platform-test:
62+
rules:
63+
- if: $CI_PIPELINE_SOURCE == "push"
6264
stage: Platform Tests
6365
trigger:
6466
strategy: depend

.gitlab/ci/platform-test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@ stages:
1515
script:
1616
- swift build --build-tests --enable-test-discovery --sanitize=thread -v
1717
- swift test --skip-build
18-
only:
19-
- branches
20-
- tags
21-
except:
22-
- schedules
23-

0 commit comments

Comments
 (0)