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: ...@@ -56,21 +56,21 @@ jobs:
working-directory: ./examples/hardhat working-directory: ./examples/hardhat
run: | run: |
yarn deploy yarn deploy
yarn test yarn test:integration
- name: Test & deploy hardhat-example on Optimism - name: Test & deploy hardhat-example on Optimism
working-directory: ./examples/hardhat working-directory: ./examples/hardhat
run: | run: |
yarn deploy:ovm yarn deploy:ovm
yarn test:ovm yarn test:integration:ovm
- name: Test & deploy waffle-example on waffle (regression) - name: Test & deploy waffle-example on waffle (regression)
working-directory: ./examples/waffle working-directory: ./examples/waffle
run: | run: |
yarn compile yarn compile
yarn test yarn test:integration
- name: Test & deploy waffle-example on Optimism - name: Test & deploy waffle-example on Optimism
working-directory: ./examples/waffle working-directory: ./examples/waffle
run: | run: |
yarn compile:ovm yarn compile:ovm
yarn test:ovm yarn test:integration:ovm
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
"deploy:ovm": "hardhat deploy --network optimism", "deploy:ovm": "hardhat deploy --network optimism",
"compile": "hardhat compile", "compile": "hardhat compile",
"compile:ovm": "hardhat compile --network optimism", "compile:ovm": "hardhat compile --network optimism",
"test": "hardhat test", "test:integration": "hardhat test",
"test:ovm": "hardhat test --network optimism", "test:integration:ovm": "hardhat test --network optimism",
"clean": "rimraf ./cache-ovm ./cache ./artifacts-ovm ./artifacts ./deployments" "clean": "rimraf ./cache-ovm ./cache ./artifacts-ovm ./artifacts ./deployments"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"clean": "rimraf build", "clean": "rimraf build",
"compile": "waffle", "compile": "waffle",
"compile:ovm": "waffle waffle-ovm.json", "compile:ovm": "waffle waffle-ovm.json",
"test": "mocha 'test/*.spec.js' --timeout 10000", "test:integration": "mocha 'test/*.spec.js' --timeout 10000",
"test:ovm": "TARGET=OVM mocha 'test/*.spec.js' --timeout 50000" "test:integration:ovm": "TARGET=OVM mocha 'test/*.spec.js' --timeout 50000"
}, },
"keywords": [ "keywords": [
"optimism", "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