Report times in CI

This commit is contained in:
Franck Royer 2020-12-09 17:14:51 +11:00
parent f88ed9183b
commit 2541fad40f
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -77,6 +77,7 @@ jobs:
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: nightly
profile: minimal profile: minimal
override: true override: true
@ -94,14 +95,14 @@ jobs:
key: rust-${{ matrix.target }}-${{ matrix.rust_toolchain }}-cargo-registry-directory-${{ hashFiles('Cargo.lock') }}-v1 key: rust-${{ matrix.target }}-${{ matrix.rust_toolchain }}-cargo-registry-directory-${{ hashFiles('Cargo.lock') }}-v1
- name: Cargo check release code with default features - name: Cargo check release code with default features
run: cargo check --workspace run: cargo +nightly check --workspace
- name: Cargo check all features - name: Cargo check all features
run: cargo check --workspace --all-targets --all-features run: cargo +nightly check --workspace --all-targets --all-features
- name: Cargo test - name: Cargo test
if: (!matrix.skip_tests) if: (!matrix.skip_tests)
run: cargo test --workspace --all-features run: cargo +nightly test --workspace --all-features -- -Z unstable-options --report-time
env: env:
MONERO_ADDITIONAL_SLEEP_PERIOD: 60000 MONERO_ADDITIONAL_SLEEP_PERIOD: 60000
RUST_MIN_STACK: 10000000 RUST_MIN_STACK: 10000000