Skip to content

Commit

Permalink
added local ganache testnet to kotlin CI
Browse files Browse the repository at this point in the history
  • Loading branch information
krisbitney committed Aug 14, 2023
1 parent e9c70b9 commit e9ed03e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kt-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Build and test
run: ./gradlew build
- name: Build
run: ./gradlew assemble
working-directory: ./implementations/kt

- name: Publish
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/kt-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,27 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Install dependencies
run: yarn install --nonInteractive --frozen-lockfile --prefer-offline
working-directory: ./implementations/kt

- name: Start Ganache
run: yarn polywrap infra up --modules=eth-ens-ipfs
working-directory: ./implementations/kt

- name: Build and test
run: ./gradlew build
working-directory: ./implementations/kt

- name: Stop Ganache
run: yarn polywrap infra down --modules=eth-ens-ipfs
working-directory: ./implementations/kt
4 changes: 4 additions & 0 deletions ethereum-wallet.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"name": "javascript-plugin",
"path": "implementations/js"
},
{
"name": "kotlin-plugin",
"path": "implementations/kt"
},
],
"settings": {
"files.exclude": {
Expand Down

0 comments on commit e9ed03e

Please sign in to comment.