diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 376e29757..f97fe8c87 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -23,6 +23,8 @@ jobs: run: yarn hardhat compile - name: Run gas benchmarks run: yarn benchmark:diff + - name: Run contract tests + run: yarn test:contracts - name: Archive logs if: always() uses: actions/upload-artifact@v2 diff --git a/packages/nitro-protocol/package.json b/packages/nitro-protocol/package.json index ee4e81c61..f034caf18 100644 --- a/packages/nitro-protocol/package.json +++ b/packages/nitro-protocol/package.json @@ -20,7 +20,7 @@ "contracts:deploy-localhost": "yarn hardhat deploy --network localhost --export-all addresses.json && node ./scripts/postdeploy.ts", "contracts:deploy-goerli": "yarn hardhat deploy --network goerli --export-all addresses.json && node ./scripts/postdeploy.js", "contracts:node": "yarn hardhat node --no-deploy", - "test": "yarn test:contracts && yarn test:app --all", + "test": "yarn test:app", "test:app": "yarn hardhat compile && jest -c ./config/jest/jest.config.js", "test:contracts": "yarn hardhat compile && jest -c ./config/jest/jest.contracts.config.js", "lint:check": "yarn eslint \"./\" --cache && yarn prettier:check",