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:
William Cheng 2024-01-22 14:30:53 +08:00 committed by GitHub
parent df0e13f0c6
commit e6161cc044
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,9 @@ if [ "$NODE_INDEX" = "1" ]; then
echo "Running node $NODE_INDEX ..."
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-faraday && mvn integration-test)
(cd samples/client/petstore/ruby-httpx && mvn integration-test)

View 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