Skip to content

Commit

Permalink
update readme and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Dec 25, 2023
1 parent c5dde27 commit c1cb1dd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 134 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Compose
run: |
docker compose -f integration_tests/network/docker-compose.yaml up -d --wait
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 0 additions & 120 deletions integration_tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,123 +12,3 @@ node_modules
# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json
17 changes: 8 additions & 9 deletions integration_tests/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Sample Hardhat Project
# VechainThor Integration Tests

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:
## Prerequisites
- [Docker](https://docs.docker.com/install/)
- [Yarn](https://yarnpkg.com/en/docs/install)
- [Node.js](https://nodejs.org/en/download/)

## Runnig the tests
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.ts
yarn install
yarn test
```
5 changes: 4 additions & 1 deletion integration_tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"private": false,
"scripts": {
"postinstall": "hardhat compile",
"test": "yarn mocha --exit",
"docker:up": "docker compose -f network/docker-compose.yaml up -d --wait",
"docker:down": "docker compose -f network/docker-compose.yaml down",
"docker:restart": "yarn docker:down && yarn docker:up",
"test": "yarn docker:restart && yarn mocha --exit; yarn docker:down",
"generate:accounts": "ts-node scripts/generate-account.ts"
},
"devDependencies": {
Expand Down

0 comments on commit c1cb1dd

Please sign in to comment.