forked from loafle/openapi-generator-original
Test perl petstore client in CircleCI (#17669)
* test perl client in circleci * cpanm install * install * add bash * bin bash * update * undo pom.xml change
This commit is contained in:
parent
df0e13f0c6
commit
e6161cc044
@ -13,6 +13,9 @@ if [ "$NODE_INDEX" = "1" ]; then
|
|||||||
echo "Running node $NODE_INDEX ..."
|
echo "Running node $NODE_INDEX ..."
|
||||||
java -version
|
java -version
|
||||||
|
|
||||||
|
sudo apt-get -y install cpanminus
|
||||||
|
|
||||||
|
(cd samples/client/petstore/perl && /bin/bash ./test.bash)
|
||||||
(cd samples/client/petstore/ruby && mvn integration-test)
|
(cd samples/client/petstore/ruby && mvn integration-test)
|
||||||
(cd samples/client/petstore/ruby-faraday && mvn integration-test)
|
(cd samples/client/petstore/ruby-faraday && mvn integration-test)
|
||||||
(cd samples/client/petstore/ruby-httpx && mvn integration-test)
|
(cd samples/client/petstore/ruby-httpx && mvn integration-test)
|
||||||
|
8
samples/client/petstore/perl/test.bash
Normal file
8
samples/client/petstore/perl/test.bash
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
|
cpanm --installdeps .
|
||||||
|
|
||||||
|
perl tests/01_pet_api.t
|
Loading…
x
Reference in New Issue
Block a user