From 559b7c8faa839d218d464479861010a21e38465e Mon Sep 17 00:00:00 2001 From: Adam Szkoda Date: Tue, 7 Jul 2020 13:44:35 +0000 Subject: [PATCH] Fix bors timeouts (#1341) ... by moving "license/cla" from `status` to `pr_status` in `bors.toml`. --- .github/workflows/test-suite.yml | 14 ++++++++++++++ bors.toml | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 8ddabb3b3..f6373d1f1 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -10,6 +10,7 @@ on: jobs: cargo-fmt: + name: cargo-fmt runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 @@ -18,6 +19,7 @@ jobs: - name: Check formatting with cargo fmt run: make cargo-fmt release-tests-ubuntu: + name: release-tests-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -29,6 +31,7 @@ jobs: - name: Run tests in release run: make test-release release-tests-and-install-macos: + name: release-tests-and-install-macos runs-on: macos-latest needs: cargo-fmt steps: @@ -42,6 +45,7 @@ jobs: - name: Install Lighthouse run: make debug-tests-ubuntu: + name: debug-tests-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -53,6 +57,7 @@ jobs: - name: Run tests in debug run: make test-debug state-transition-vectors-ubuntu: + name: state-transition-vectors-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -62,6 +67,7 @@ jobs: - name: Run state_transition_vectors in release. run: make run-state-transition-tests ef-tests-ubuntu: + name: ef-tests-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -71,6 +77,7 @@ jobs: - name: Run eth2.0-spec-tests with and without fake_crypto run: make test-ef dockerfile-ubuntu: + name: dockerfile-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -78,6 +85,7 @@ jobs: - name: Build the root Dockerfile run: docker build . eth1-simulator-ubuntu: + name: eth1-simulator-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -87,6 +95,7 @@ jobs: - name: Run the beacon chain sim that starts from an eth1 contract run: cargo run --release --bin simulator eth1-sim no-eth1-simulator-ubuntu: + name: no-eth1-simulator-ubuntu runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -96,6 +105,7 @@ jobs: - name: Run the beacon chain sim without an eth1 connection run: cargo run --release --bin simulator no-eth1-sim check-benchmarks: + name: check-benchmarks runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -103,6 +113,7 @@ jobs: - name: Typecheck benchmark code without running it run: make check-benches clippy: + name: clippy runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -110,6 +121,7 @@ jobs: - name: Lint code for quality and style with Clippy run: make lint arbitrary-check: + name: arbitrary-check runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -117,6 +129,7 @@ jobs: - name: Validate state_processing feature arbitrary-fuzz run: make arbitrary-fuzz cargo-audit: + name: cargo-audit runs-on: ubuntu-latest needs: cargo-fmt steps: @@ -124,6 +137,7 @@ jobs: - name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database run: make audit cargo-udeps: + name: cargo-udeps runs-on: ubuntu-latest needs: cargo-fmt steps: diff --git a/bors.toml b/bors.toml index 4626b9069..5a1766e5b 100644 --- a/bors.toml +++ b/bors.toml @@ -1,3 +1,4 @@ -status = ["%"] +status = ["cargo-fmt", "release-tests-ubuntu", "release-tests-and-install-macos", "debug-tests-ubuntu", "state-transition-vectors-ubuntu", "ef-tests-ubuntu", "dockerfile-ubuntu", "eth1-simulator-ubuntu", "no-eth1-simulator-ubuntu", "check-benchmarks", "clippy", "arbitrary-check", "cargo-audit", "cargo-udeps"] use_squash_merge = true timeout_sec = 7200 +pr_status = ["license/cla"]