Aadd latest atest script from master
@@ -119,7 +119,7 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v2
- - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
with:
repository: QuorumEngineering/quorum
path: quorum
@@ -149,13 +149,15 @@ jobs:
- run: |
./gradlew build -x test -x dependencyCheckAnalyze -x javadoc
export TESSERA_JAR=`ls $(pwd)/tessera-dist/tessera-app/build/libs/tessera-app-*-app.jar`
- cd /home/runner/work/tessera/tessera/quorum
- make all
- export PATH=$PATH:$(pwd)/build/bin
- cd /home/runner/work/tessera/tessera/
+ cd
+ git clone https://github.com/jpmorganchase/quorum-examples.git
+ git clone https://github.com/jpmorganchase/quorum-acceptance-tests.git
+ echo "Install geth"
+ curl -L https://dl.bintray.com/quorumengineering/quorum/v2.6.0/geth_v2.6.0_linux_amd64.tar.gz -o geth.tar.gz
+ tar xvzf geth.tar.gz
+ sudo mv geth /usr/local/bin/
geth version
echo "Installed geth"
-
echo "Install solc"
curl -L https://github.com/ethereum/solidity/releases/download/v0.5.4/solc-static-linux -o solc
sudo mv solc /usr/local/bin/
@@ -165,22 +167,21 @@ jobs:
echo "Install gauge"
curl -L https://github.com/getgauge/gauge/releases/download/v1.0.7/gauge-1.0.7-linux.x86_64.zip -o gauge.zip
sudo unzip -o gauge.zip -d /usr/local/bin
-
- cd /home/runner/work/tessera/tessera/quorum-acceptance-tests
- gauge install
- cd /home/runner/work/tessera/tessera
+ cd quorum-acceptance-tests
+ gauge install java --version 0.7.4
+ cd
echo "Installed gauge"
echo "Start $TESSERA_JAR for 7 nodes"
- cd /home/runner/work/tessera/tessera/quorum-examples/examples/7nodes
+ cd quorum-examples/examples/7nodes
./tessera-init.sh
./init.sh istanbul
./start.sh istanbul tessera
- cd /home/runner/work/tessera/tessera
+ cd ../../../
echo "Started $TESSERA_JAR for 7 nodes"
echo "Run quorum-acceptance-tests"
- cd /home/runner/work/tessera/tessera/quorum-acceptance-tests
+ cd quorum-acceptance-tests
cp config/application-local.7nodes.yml config/application-local.yml
- mvn test
+ SPRING_PROFILES_ACTIVE=local.7nodes mvn clean test -Dtags="basic || basic-istanbul || networks/typical::istanbul"
echo "Complete quorum-acceptance-tests"
env:
MAVEN_OPTS: -Xms1024m -Xmx2048m
