Commit 0bd11296 authored by Liam Horne's avatar Liam Horne Committed by GitHub

build: change test script name to avoid wrongly considered unit tests (#701)

parent 2de25347
......@@ -56,21 +56,21 @@ jobs:
working-directory: ./examples/hardhat
run: |
yarn deploy
yarn test
yarn test:integration
- name: Test & deploy hardhat-example on Optimism
working-directory: ./examples/hardhat
run: |
yarn deploy:ovm
yarn test:ovm
yarn test:integration:ovm
- name: Test & deploy waffle-example on waffle (regression)
working-directory: ./examples/waffle
run: |
yarn compile
yarn test
yarn test:integration
- name: Test & deploy waffle-example on Optimism
working-directory: ./examples/waffle
run: |
yarn compile:ovm
yarn test:ovm
yarn test:integration:ovm
......@@ -9,8 +9,8 @@
"deploy:ovm": "hardhat deploy --network optimism",
"compile": "hardhat compile",
"compile:ovm": "hardhat compile --network optimism",
"test": "hardhat test",
"test:ovm": "hardhat test --network optimism",
"test:integration": "hardhat test",
"test:integration:ovm": "hardhat test --network optimism",
"clean": "rimraf ./cache-ovm ./cache ./artifacts-ovm ./artifacts ./deployments"
},
"devDependencies": {
......
......@@ -6,8 +6,8 @@
"clean": "rimraf build",
"compile": "waffle",
"compile:ovm": "waffle waffle-ovm.json",
"test": "mocha 'test/*.spec.js' --timeout 10000",
"test:ovm": "TARGET=OVM mocha 'test/*.spec.js' --timeout 50000"
"test:integration": "mocha 'test/*.spec.js' --timeout 10000",
"test:integration:ovm": "TARGET=OVM mocha 'test/*.spec.js' --timeout 50000"
},
"keywords": [
"optimism",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment