Skip to content

Commit db2cc0d

Browse files
dwightguthehildenb
authored andcommitted
Run all firefly tests (#417)
* Makefile: run all firefly tests * Makefile: args to ganache * Jenksinfile: fix release dir
1 parent a04d28f commit db2cc0d

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

Jenkinsfile

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -292,18 +292,20 @@ pipeline {
292292
}
293293
}
294294
steps {
295-
unstash 'src-kevm'
296-
unstash 'bionic-kevm'
297-
unstash 'arch-kevm'
298-
sh '''
299-
release_tag="v${KEVM_RELEASE_ID}-$(git rev-parse --short HEAD)"
300-
make release.md KEVM_RELEASE_TAG=${release_tag}
301-
hub release create \
302-
--attach "kevm-${KEVM_RELEASE_ID}-src.tar.gz#Source tar.gz" \
303-
--attach "kevm_${KEVM_RELEASE_ID}_amd64.deb#Ubuntu Bionic (18.04) Package" \
304-
--attach "kevm-${KEVM_RELEASE_ID}/package/kevm-git-${KEVM_RELEASE_ID}-1-x86_64.pkg.tar.xz#Arch Package" \
305-
--file "release.md" "${release_tag}"
306-
'''
295+
dir("kevm-${env.KEVM_RELEASE_ID}") {
296+
unstash 'src-kevm'
297+
unstash 'bionic-kevm'
298+
unstash 'arch-kevm'
299+
sh '''
300+
release_tag="v${KEVM_RELEASE_ID}-$(git rev-parse --short HEAD)"
301+
make release.md KEVM_RELEASE_TAG=${release_tag}
302+
hub release create \
303+
--attach "kevm-${KEVM_RELEASE_ID}-src.tar.gz#Source tar.gz" \
304+
--attach "kevm_${KEVM_RELEASE_ID}_amd64.deb#Ubuntu Bionic (18.04) Package" \
305+
--attach "kevm-${KEVM_RELEASE_ID}/package/kevm-git-${KEVM_RELEASE_ID}-1-x86_64.pkg.tar.xz#Arch Package" \
306+
--file "release.md" "${release_tag}"
307+
'''
308+
}
307309
}
308310
}
309311
}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,9 @@ test-interactive-firefly:
482482
&& git clone 'https://github.com/openzeppelin/openzeppelin-solidity' \
483483
&& cd openzeppelin-solidity \
484484
&& git checkout b8c8308 \
485-
&& { npx kevm-ganache-cli & } \
485+
&& { npx kevm-ganache-cli --gasLimit 0xfffffffffff --port 8545 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501200,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501201,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501202,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501203,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501204,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501205,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501206,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501207,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501208,1000000000000000000000000 --account=0x2bdd21761a483f71054e14f5b827213567971c676928d9a1808cbfa4b7501209,1000000000000000000000000 & } \
486486
&& npm install \
487-
&& npx truffle test test/token/ERC20/ERC20.test.js
487+
&& npx truffle test
488488

489489
# Media
490490
# -----

0 commit comments

Comments
 (0)