Skip to content

Commit

Permalink
Merge pull request #2396 from clash-lang/only-run-tests-on-prs
Browse files Browse the repository at this point in the history
Only run GHA tests on PRs
  • Loading branch information
martijnbastiaan authored Jan 4, 2023
2 parents e4964df + 8271a4e commit 3819cba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
run: stack build --pedantic

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

build_and_test:
Expand Down Expand Up @@ -165,19 +166,23 @@ jobs:
run: ./.ci/build.sh

- name: Unit Tests
if: github.ref != 'refs/heads/master'
run: |
cabal v2-test clash-prelude
cabal v2-test clash-lib
cabal v2-test clash-cores
cabal v2-test clash-cosim
- name: Testsuite (VHDL)
if: github.ref != 'refs/heads/master'
run: cabal v2-run clash-testsuite -- -j$THREADS --hide-successes -p .VHDL --no-vivado

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

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


Expand Down
5 changes: 0 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pull_request_rules:
- merged
actions:
copy:
bot_account: clash-lang-builder
ignore_conflicts: True
branches:
- "1.2"
Expand All @@ -21,7 +20,6 @@ pull_request_rules:
- merged
actions:
copy:
bot_account: clash-lang-builder
ignore_conflicts: True
branches:
- "1.4"
Expand All @@ -33,11 +31,8 @@ pull_request_rules:
- merged
actions:
copy:
bot_account: clash-lang-builder
ignore_conflicts: True
branches:
- "1.6"
queue:
update_bot_account: clash-lang-builder
merge_bot_account: clash-lang-builder
update_method: rebase

0 comments on commit 3819cba

Please sign in to comment.