summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2022-03-30 01:42:11 -0400
committerNick Gerace <nickagerace@gmail.com>2022-03-30 01:42:11 -0400
commite3e3e288f3d688d34baee259b5898ca6bb7a29c2 (patch)
tree17ca0a92c89ea54544e3f75b0e9876cc96598f09
parentfde1cd0c5f32e407cddbf677fb86d78a4e028d28 (diff)
downloadgfold-e3e3e288f3d688d34baee259b5898ca6bb7a29c2.zip
Add multi-platform cargo test
Now that our integration test can more easily reveal multiplatform errors, we should add cargo test checks to macos-latest and windows-latest targets as well. Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r--.github/workflows/ci.yml11
-rw-r--r--bors.toml6
2 files changed, 10 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0e892b2..da5e6a9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: true
jobs:
test:
- name: "Lint, Test, and Build (ubuntu-latest)"
+ name: "Lint / Test / Build (ubuntu-latest)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -38,16 +38,16 @@ jobs:
args: -- -D warnings
- uses: actions-rs/cargo@v1
with:
- command: test
+ command: doc
- uses: actions-rs/cargo@v1
with:
- command: doc
+ command: test
- uses: actions-rs/cargo@v1
with:
command: build
args: --locked
build:
- name: "Build"
+ name: "Test / Build"
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -62,5 +62,8 @@ jobs:
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
+ command: test
+ - uses: actions-rs/cargo@v1
+ with:
command: build
args: --locked
diff --git a/bors.toml b/bors.toml
index 9c01ef1..83f1433 100644
--- a/bors.toml
+++ b/bors.toml
@@ -1,7 +1,7 @@
status = [
- "Lint, Test, and Build (ubuntu-latest)",
- "Build (windows-latest)",
- "Build (macos-latest)"
+ "Lint / Test / Build (ubuntu-latest)",
+ "Test / Build (windows-latest)",
+ "Test / Build (macos-latest)"
]
timeout_sec = 900
delete_merged_branches = true