Test: add test dependencies into *.opam
and fix .gitlab-ci.yml
This commit is contained in:
parent
0166f2325e
commit
dffa65f648
@ -89,7 +89,7 @@ build:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
|
|
||||||
test:opam:
|
test:opam_packaging:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- ./scripts/check_opam_test.sh "$CI_PROJECT_DIR/$CI_CONFIG_PATH"
|
- ./scripts/check_opam_test.sh "$CI_PROJECT_DIR/$CI_CONFIG_PATH"
|
||||||
@ -99,70 +99,90 @@ test:ocp-indent:
|
|||||||
script:
|
script:
|
||||||
- jbuilder build @runtest_indent
|
- jbuilder build @runtest_indent
|
||||||
|
|
||||||
test:utils:
|
test:stdlib:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/utils/runtest
|
- jbuilder build @src/lib_stdlib/runtest
|
||||||
|
|
||||||
|
test:stdlib_lwt:
|
||||||
|
<<: *test_definition
|
||||||
|
script:
|
||||||
|
- jbuilder build @src/lib_stdlib_lwt/runtest
|
||||||
|
|
||||||
|
test:data_encoding:
|
||||||
|
<<: *test_definition
|
||||||
|
script:
|
||||||
|
- jbuilder build @src/lib_data_encoding/runtest
|
||||||
|
|
||||||
|
test:storage:
|
||||||
|
<<: *test_definition
|
||||||
|
script:
|
||||||
|
- jbuilder build @src/lib_storage/runtest
|
||||||
|
|
||||||
|
test:crypto:
|
||||||
|
<<: *test_definition
|
||||||
|
script:
|
||||||
|
- jbuilder build @src/lib_crypto/runtest
|
||||||
|
|
||||||
test:shell:
|
test:shell:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/shell/runtest
|
- jbuilder build @src/lib_shell/runtest
|
||||||
|
|
||||||
test:p2p:io-scheduler:
|
test:p2p:io-scheduler:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/p2p/runtest_p2p_io_scheduler
|
- jbuilder build @src/lib_p2p/runtest_p2p_io_scheduler
|
||||||
|
|
||||||
test:p2p:socket:
|
test:p2p:socket:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/p2p/runtest_p2p_socket
|
- jbuilder build @src/lib_p2p/runtest_p2p_socket
|
||||||
|
|
||||||
test:p2p:pool:
|
test:p2p:pool:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/p2p/runtest_p2p_pool
|
- jbuilder build @src/lib_p2p/runtest_p2p_pool
|
||||||
|
|
||||||
test:proto_alpha_isolate:
|
test:proto_alpha:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/proto_alpha_isolate/runtest_isolate_main
|
- jbuilder build @src/proto_alpha/runtest
|
||||||
|
|
||||||
test:proto_alpha:transaction:
|
test:client_alpha:transaction:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/proto_alpha/runtest_transaction
|
- jbuilder build @src/proto_alpha/lib_client/runtest_transaction
|
||||||
|
|
||||||
test:proto_alpha:origination:
|
test:client_alpha:origination:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/proto_alpha/runtest_origination
|
- jbuilder build @src/proto_alpha/lib_client/runtest_origination
|
||||||
|
|
||||||
test:proto_alpha:endorsement:
|
test:client_alpha:endorsement:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/proto_alpha/runtest_endorsement
|
- jbuilder build @src/proto_alpha/lib_client/runtest_endorsement
|
||||||
|
|
||||||
test:proto_alpha:vote:
|
test:client_alpha:vote:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/proto_alpha/runtest_vote
|
- jbuilder build @src/proto_alpha/lib_client/runtest_vote
|
||||||
|
|
||||||
test:basic.sh:
|
test:basic.sh:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/runtest_basic.sh
|
- jbuilder build @src/bin_client/runtest_basic.sh
|
||||||
|
|
||||||
test:contracts.sh:
|
test:contracts.sh:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/runtest_contracts.sh
|
- jbuilder build @src/bin_client/runtest_contracts.sh
|
||||||
|
|
||||||
test:multinode.sh:
|
test:multinode.sh:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
script:
|
script:
|
||||||
- jbuilder build @test/runtest_multinode.sh
|
- jbuilder build @src/bin_client/runtest_multinode.sh
|
||||||
|
|
||||||
test:proto:sandbox:
|
test:proto:sandbox:
|
||||||
<<: *test_definition
|
<<: *test_definition
|
||||||
@ -362,12 +382,7 @@ opam:34:ocplib-ezresto-directory:
|
|||||||
variables:
|
variables:
|
||||||
package: ocplib-ezresto-directory
|
package: ocplib-ezresto-directory
|
||||||
|
|
||||||
opam:35:tezos-test:
|
opam:35:tezos-protocol-demo:
|
||||||
<<: *opam_definition
|
|
||||||
variables:
|
|
||||||
package: tezos-test
|
|
||||||
|
|
||||||
opam:36:tezos-protocol-demo:
|
|
||||||
<<: *opam_definition
|
<<: *opam_definition
|
||||||
variables:
|
variables:
|
||||||
package: tezos-protocol-demo
|
package: tezos-protocol-demo
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-stdlib"
|
"tezos-stdlib"
|
||||||
"tezos-stdlib-lwt"
|
"tezos-stdlib-lwt"
|
||||||
"tezos-data-encoding"
|
"tezos-data-encoding"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-stdlib"
|
"tezos-stdlib"
|
||||||
"ocplib-json-typed"
|
"ocplib-json-typed"
|
||||||
"ocplib-endian"
|
"ocplib-endian"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-base"
|
"tezos-base"
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-base"
|
"tezos-base"
|
||||||
"tezos-rpc-http"
|
"tezos-rpc-http"
|
||||||
"tezos-p2p"
|
"tezos-p2p"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"cstruct"
|
"cstruct"
|
||||||
"hex"
|
"hex"
|
||||||
"ocplib-endian"
|
"ocplib-endian"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-stdlib"
|
"tezos-stdlib"
|
||||||
"tezos-data-encoding"
|
"tezos-data-encoding"
|
||||||
"tezos-error-monad"
|
"tezos-error-monad"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-base"
|
"tezos-base"
|
||||||
"leveldb"
|
"leveldb"
|
||||||
"irmin-leveldb"
|
"irmin-leveldb"
|
||||||
|
@ -9,6 +9,7 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
"tezos-base"
|
"tezos-base"
|
||||||
"tezos-protocol-environment-client"
|
"tezos-protocol-environment-client"
|
||||||
"tezos-protocol-alpha"
|
"tezos-protocol-alpha"
|
||||||
|
@ -9,11 +9,11 @@ license: "unreleased"
|
|||||||
depends: [
|
depends: [
|
||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"jbuilder" { build & >= "1.0+beta15" }
|
"jbuilder" { build & >= "1.0+beta15" }
|
||||||
|
"tezos-test-helpers" { test }
|
||||||
|
"tezos-embedded-protocol-genesis" { test }
|
||||||
"tezos-protocol-compiler"
|
"tezos-protocol-compiler"
|
||||||
"tezos-protocol-updater"
|
"tezos-protocol-updater"
|
||||||
"tezos-shell"
|
"tezos-shell"
|
||||||
"tezos-test-helpers" { test }
|
|
||||||
"tezos-embedded-protocol-genesis" { test }
|
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
[ "rm" "jbuild" "src/jbuild" ]
|
[ "rm" "jbuild" "src/jbuild" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user