File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,23 @@ function package_all() {
6969 ls target/lambda/release/bootstrap.zip > /dev/null 2>&1
7070}
7171
72+ # test packaging with PROFILE=dev
73+ function package_all_dev_profile() {
74+ rm -rf target/lambda/debug > /dev/null 2>&1
75+ docker run --rm \
76+ -e PROFILE=dev \
77+ -v ${PWD} :/code \
78+ -v ${HOME} /.cargo/registry:/root/.cargo/registry \
79+ -v ${HOME} /.cargo/git:/root/.cargo/git \
80+ softprops/lambda-rust && \
81+ ls target/lambda/debug/bootstrap.zip > /dev/null 2>&1
82+ }
83+
7284# package tests
7385assert_success " it packages single bin" package_bin bootstrap
7486
87+ assert_success " it packaging all bins with dev profile" package_all_dev_profile
88+
7589assert_success " it packages all bins" package_all
7690
7791# verify packaged artifact by invoking it using the lambdaci "provided" docker image
You can’t perform that action at this time.
0 commit comments