From 629a658c758a561d3f1ad2054c45485ed3c382f4 Mon Sep 17 00:00:00 2001
From: mpostma
Date: Wed, 8 Jul 2020 09:50:07 +0200
Subject: [PATCH 1/4] bors setup
---
.github/workflows/test.yml | 6 +++++-
bors.toml | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
create mode 100644 bors.toml
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index efd33e399..6ea50edf0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,5 +1,9 @@
---
-on: [pull_request]
+on:
+ push:
+ branches:
+ - staging
+ - trying
name: Test binaries with cargo test
diff --git a/bors.toml b/bors.toml
new file mode 100644
index 000000000..f66b1661f
--- /dev/null
+++ b/bors.toml
@@ -0,0 +1 @@
+status = ["Test binaries with cargo test"]
From 6bce83dde8e10f7540e8d80013f6b38728a8fe28 Mon Sep 17 00:00:00 2001
From: mpostma
Date: Wed, 8 Jul 2020 13:36:33 +0200
Subject: [PATCH 2/4] set bors timeout
---
bors.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bors.toml b/bors.toml
index f66b1661f..d2384370f 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1 +1,3 @@
status = ["Test binaries with cargo test"]
+# 4 hours timeout
+timeout-sec = 14400
From 9ba711dfe579517bdbecf1314c341f44737a5c1b Mon Sep 17 00:00:00 2001
From: mpostma
Date: Wed, 8 Jul 2020 14:33:15 +0200
Subject: [PATCH 3/4] update readme with bors badge
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index 62b3257b2..1cc40dfdc 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@
+
⚡ Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine 🔍
From edbba6471128484e061a2cd8c86cc6f2c8a3c0cb Mon Sep 17 00:00:00 2001
From: mpostma
Date: Wed, 8 Jul 2020 21:04:07 +0200
Subject: [PATCH 4/4] fix bors.yaml
---
bors.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bors.toml b/bors.toml
index d2384370f..35b5c4a9f 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1,3 +1,3 @@
-status = ["Test binaries with cargo test"]
+status = ["Test on macos-latest", "Test on ubuntu-latest"]
# 4 hours timeout
timeout-sec = 14400