This repository was archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Tests parallelized #10452
Merged
Merged
Tests parallelized #10452
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
44b1edc
tests splitted, phase 1
TriplEight 403ee7b
typo
TriplEight fe585ac
fix wrong launch commands
TriplEight b2b1bc2
typos
TriplEight e76f4da
rearrangements
TriplEight c66f5ae
use `nproc` function for threads
General-Beck 5d523cf
use nproc for threads
General-Beck 69a62a6
let theads be auto, build-andriod no more in regular run
TriplEight b98430b
nproc threading
TriplEight 12ff729
split val chain and cargo check
TriplEight 02a6286
renamed some files
TriplEight 13391e2
wrong phase
TriplEight dfd422b
check rust files before test jobs
TriplEight 9fd520f
lint error
TriplEight 2dfc800
rust files modivied var
TriplEight 544a263
test except changes
General-Beck 39300db
add rust_changes except
General-Beck 0dba3cd
lint error
General-Beck 521be22
fixes
TriplEight 30c4f66
.gitlab-ci.yml can't be excluded
TriplEight 69d54b9
pipeline shouldn't start
TriplEight ed1345e
pipeline must go
TriplEight 1b4fc33
pipeline must go 2
TriplEight 03d8fd4
pipeline must go 3
TriplEight 1694c98
pipeline must go 4
TriplEight 43db1fe
pipeline must go 5
TriplEight 0df85b0
pipeline must go 6
TriplEight 190ed90
pipeline must go 7
TriplEight 24dbdb5
pipeline must not go 1
TriplEight e4f38ca
pipeline must go 8
TriplEight 50a27b8
avoid skippng tests yet, reintroducing them after the caching
TriplEight 9b4a3d1
Merge branch 'master' into tests_splitting
TriplEight d169e7b
test theory
TriplEight b1a7937
Merge branch 'tests_splitting' of github.com:paritytech/parity-ethere…
TriplEight afbe8b4
parallelized cargo check with combusting helicopters
TriplEight 06e8b1e
less uploads
TriplEight 539047a
alias for cargo checks
TriplEight 2c78082
nice template
TriplEight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/bin/bash | ||
| echo "________Running test-cpp.sh________" | ||
| set -e # fail on any error | ||
| set -u # treat unset variables as error | ||
| #use nproc `linux only | ||
| THREADS=$(nproc) | ||
|
TriplEight marked this conversation as resolved.
|
||
|
|
||
| echo "________Running the C++ example________" | ||
| DIR=parity-clib/examples/cpp/build | ||
| mkdir -p $DIR | ||
| cd $DIR | ||
| cmake .. | ||
| make -j $THREADS | ||
| # Note: we don't try to run the example because it tries to sync Kovan, and we don't want | ||
| # that to happen on CI | ||
| cd - | ||
| rm -rf $DIR | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #!/bin/bash | ||
| echo "________Running test-linux.sh________" | ||
| set -e # fail on any error | ||
| set -u # treat unset variables as error | ||
|
|
||
| FEATURES="json-tests,ci-skip-tests" | ||
| OPTIONS="--release" | ||
| #use nproc `linux only | ||
| THREADS=$(nproc) | ||
|
TriplEight marked this conversation as resolved.
|
||
|
|
||
| echo "________Running Parity Full Test Suite________" | ||
| time cargo test $OPTIONS --features "$FEATURES" --locked --all --target $CARGO_TARGET -- --test-threads $THREADS | ||
9 changes: 7 additions & 2 deletions
9
scripts/validate_chainspecs.sh → scripts/gitlab/validate-chainspecs.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.