Skip to content
This repository was archived by the owner on Dec 8, 2023. It is now read-only.

Exclude lang-integration-test examples #40

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ parent-vars:
- echo "Data will be written to $REDIS_SIZES_KEY"
- for example in ${INK_EXAMPLES_PATH}/*/; do
if [ "$example" == "./ink/examples/upgradeable-contracts/" ]; then continue; fi;
if [ "$example" == "./ink/examples/lang-err-integration-tests/" ]; then continue; fi;
echo "set -o pipefail; ./scripts/ci/build-contract.sh ${example} |
redis-cli -u ${GITLAB_REDIS_URI} -x rpush ${REDIS_SIZES_KEY}" >> /tmp/cmds;
done
Expand Down Expand Up @@ -202,6 +203,7 @@ parent-vars:
- for example in ${INK_EXAMPLES_PATH}/*/; do
if [ "$example" == "./ink/examples/rand-extension/" ]; then continue; fi;
if [ "$example" == "./ink/examples/upgradeable-contracts/" ]; then continue; fi;
if [ "$example" == "./ink/examples/lang-err-integration-tests/" ]; then continue; fi;
echo $example;
./scripts/ci/extract-gas-usage.sh ${example};
done
Expand All @@ -213,6 +215,7 @@ parent-vars:
- for example in ${INK_EXAMPLES_PATH}/*/; do
if [ "$example" == "./ink/examples/rand-extension/" ]; then continue; fi;
if [ "$example" == "./ink/examples/upgradeable-contracts/" ]; then continue; fi;
if [ "$example" == "./ink/examples/lang-err-integration-tests/" ]; then continue; fi;
./scripts/ci/extract-gas-usage.sh ${example} |
redis-cli -u ${GITLAB_REDIS_URI} -x rpush ${REDIS_GAS_USAGE_KEY};
done
Expand Down