Copy acceptnce tests config from main.yml to gradle.yml
@@ -97,6 +97,23 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v2
+ with:
+ repository: QuorumEngineering/quorum
+ path: quorum
+ token: 889164eb89db2348e0d26aed4c1e4a47a1a5c98a
+ ref: feature/quorum-1.9.7-withPE
+ - uses: actions/checkout@v2
+ with:
+ repository: QuorumEngineering/quorum-acceptance-tests
+ path: quorum-acceptance-tests
+ token: 889164eb89db2348e0d26aed4c1e4a47a1a5c98a
+ ref: feature/quorum-1.9.7-withPE
+ - uses: actions/checkout@v2
+ with:
+ repository: QuorumEngineering/quorum-examples
+ path: quorum-examples
+ token: 889164eb89db2348e0d26aed4c1e4a47a1a5c98a
+ ref: geth-1.9.7
- uses: actions/setup-java@v1
with:
java-version: 11
@@ -109,17 +126,13 @@ 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
- git clone https://github.com/jpmorganchase/quorum-examples.git
- git clone -b feature/enhancedPrivacyTests https://github.com/QuorumEngineering/quorum-acceptance-tests.git
- git clone -b feature/quorum-1.9.7-withPE https://github.com/QuorumEngineering/quorum
-
- cd quorum
+ cd /home/runner/work/tessera/tessera/quorum
make all
export PATH=$PATH:$(pwd)/build/bin
- cd
+ cd /home/runner/work/tessera/tessera/
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/
@@ -129,19 +142,20 @@ 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 quorum-acceptance-tests
+
+ cd /home/runner/work/tessera/tessera/quorum-acceptance-tests
gauge install
- cd
+ cd /home/runner/work/tessera/tessera
echo "Installed gauge"
echo "Start $TESSERA_JAR for 7 nodes"
- cd quorum-examples/examples/7nodes
+ cd /home/runner/work/tessera/tessera/quorum-examples/examples/7nodes
./tessera-init.sh
./init.sh istanbul
./start.sh istanbul tessera
- cd ../../../
+ cd /home/runner/work/tessera/tessera
echo "Started $TESSERA_JAR for 7 nodes"
echo "Run quorum-acceptance-tests"
- cd quorum-acceptance-tests
+ cd /home/runner/work/tessera/tessera/quorum-acceptance-tests
cp config/application-local.7nodes.yml config/application-local.yml
mvn test
echo "Complete quorum-acceptance-tests"
