Fix bors timeouts (#1341)

... by moving "license/cla" from `status` to `pr_status` in `bors.toml`.
This commit is contained in:
Adam Szkoda 2020-07-07 13:44:35 +00:00
parent 025b262e01
commit 559b7c8faa
2 changed files with 16 additions and 1 deletions

View File

@ -10,6 +10,7 @@ on:
jobs: jobs:
cargo-fmt: cargo-fmt:
name: cargo-fmt
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -18,6 +19,7 @@ jobs:
- name: Check formatting with cargo fmt - name: Check formatting with cargo fmt
run: make cargo-fmt run: make cargo-fmt
release-tests-ubuntu: release-tests-ubuntu:
name: release-tests-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -29,6 +31,7 @@ jobs:
- name: Run tests in release - name: Run tests in release
run: make test-release run: make test-release
release-tests-and-install-macos: release-tests-and-install-macos:
name: release-tests-and-install-macos
runs-on: macos-latest runs-on: macos-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -42,6 +45,7 @@ jobs:
- name: Install Lighthouse - name: Install Lighthouse
run: make run: make
debug-tests-ubuntu: debug-tests-ubuntu:
name: debug-tests-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -53,6 +57,7 @@ jobs:
- name: Run tests in debug - name: Run tests in debug
run: make test-debug run: make test-debug
state-transition-vectors-ubuntu: state-transition-vectors-ubuntu:
name: state-transition-vectors-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -62,6 +67,7 @@ jobs:
- name: Run state_transition_vectors in release. - name: Run state_transition_vectors in release.
run: make run-state-transition-tests run: make run-state-transition-tests
ef-tests-ubuntu: ef-tests-ubuntu:
name: ef-tests-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -71,6 +77,7 @@ jobs:
- name: Run eth2.0-spec-tests with and without fake_crypto - name: Run eth2.0-spec-tests with and without fake_crypto
run: make test-ef run: make test-ef
dockerfile-ubuntu: dockerfile-ubuntu:
name: dockerfile-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -78,6 +85,7 @@ jobs:
- name: Build the root Dockerfile - name: Build the root Dockerfile
run: docker build . run: docker build .
eth1-simulator-ubuntu: eth1-simulator-ubuntu:
name: eth1-simulator-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -87,6 +95,7 @@ jobs:
- name: Run the beacon chain sim that starts from an eth1 contract - name: Run the beacon chain sim that starts from an eth1 contract
run: cargo run --release --bin simulator eth1-sim run: cargo run --release --bin simulator eth1-sim
no-eth1-simulator-ubuntu: no-eth1-simulator-ubuntu:
name: no-eth1-simulator-ubuntu
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -96,6 +105,7 @@ jobs:
- name: Run the beacon chain sim without an eth1 connection - name: Run the beacon chain sim without an eth1 connection
run: cargo run --release --bin simulator no-eth1-sim run: cargo run --release --bin simulator no-eth1-sim
check-benchmarks: check-benchmarks:
name: check-benchmarks
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -103,6 +113,7 @@ jobs:
- name: Typecheck benchmark code without running it - name: Typecheck benchmark code without running it
run: make check-benches run: make check-benches
clippy: clippy:
name: clippy
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -110,6 +121,7 @@ jobs:
- name: Lint code for quality and style with Clippy - name: Lint code for quality and style with Clippy
run: make lint run: make lint
arbitrary-check: arbitrary-check:
name: arbitrary-check
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -117,6 +129,7 @@ jobs:
- name: Validate state_processing feature arbitrary-fuzz - name: Validate state_processing feature arbitrary-fuzz
run: make arbitrary-fuzz run: make arbitrary-fuzz
cargo-audit: cargo-audit:
name: cargo-audit
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:
@ -124,6 +137,7 @@ jobs:
- name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database - name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database
run: make audit run: make audit
cargo-udeps: cargo-udeps:
name: cargo-udeps
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: cargo-fmt needs: cargo-fmt
steps: steps:

View File

@ -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 use_squash_merge = true
timeout_sec = 7200 timeout_sec = 7200
pr_status = ["license/cla"]