Skip to content

Commit 3819cba

Browse files
Merge pull request #2396 from clash-lang/only-run-tests-on-prs
Only run GHA tests on PRs
2 parents e4964df + 8271a4e commit 3819cba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
run: stack build --pedantic
9191

9292
- name: Run Vector testsuite
93+
if: github.ref != 'refs/heads/master'
9394
run: stack run -- clash-testsuite --hide-successes -p .Vector. --no-ghdl --no-verilator --no-modelsim --no-vivado
9495

9596
build_and_test:
@@ -165,19 +166,23 @@ jobs:
165166
run: ./.ci/build.sh
166167

167168
- name: Unit Tests
169+
if: github.ref != 'refs/heads/master'
168170
run: |
169171
cabal v2-test clash-prelude
170172
cabal v2-test clash-lib
171173
cabal v2-test clash-cores
172174
cabal v2-test clash-cosim
173175
174176
- name: Testsuite (VHDL)
177+
if: github.ref != 'refs/heads/master'
175178
run: cabal v2-run clash-testsuite -- -j$THREADS --hide-successes -p .VHDL --no-vivado
176179

177180
- name: Testsuite (Verilog)
181+
if: github.ref != 'refs/heads/master'
178182
run: cabal v2-run clash-testsuite -- -j$THREADS --hide-successes -p .Verilog --no-vivado
179183

180184
- name: Testsuite (SystemVerilog)
185+
if: github.ref != 'refs/heads/master'
181186
run: cabal v2-run clash-testsuite -- -j$THREADS --hide-successes -p .SystemVerilog --no-modelsim --no-vivado
182187

183188

.mergify.yml

-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ pull_request_rules:
99
- merged
1010
actions:
1111
copy:
12-
bot_account: clash-lang-builder
1312
ignore_conflicts: True
1413
branches:
1514
- "1.2"
@@ -21,7 +20,6 @@ pull_request_rules:
2120
- merged
2221
actions:
2322
copy:
24-
bot_account: clash-lang-builder
2523
ignore_conflicts: True
2624
branches:
2725
- "1.4"
@@ -33,11 +31,8 @@ pull_request_rules:
3331
- merged
3432
actions:
3533
copy:
36-
bot_account: clash-lang-builder
3734
ignore_conflicts: True
3835
branches:
3936
- "1.6"
4037
queue:
41-
update_bot_account: clash-lang-builder
42-
merge_bot_account: clash-lang-builder
4338
update_method: rebase

0 commit comments

Comments
 (0)