-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI/CD : Adding Snap Unit Test Github Action (#105)
Signed-off-by: Ivy Astrix <ivy.astrix@gmail.com>
- Loading branch information
1 parent
b87adbc
commit 982bd26
Showing
4 changed files
with
29 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Run Hedera Pulse Snap Unit Tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
eslint: | ||
name: Run Hedera Pulse Snap Unit Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Check out source code | ||
|
||
- uses: actions/setup-node@v2 | ||
name: Set up Node.js | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
cache-dependency-path: packages/hedera-wallet-snap/packages/snap | ||
|
||
- name: Install Dependencies in Subdirectory | ||
run: yarn install | ||
working-directory: ./packages/hedera-wallet-snap/packages/snap | ||
|
||
- name: Run Snap Unit Tests | ||
run: yarn test | ||
working-directory: ./packages/hedera-wallet-snap/packages/snap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
183 changes: 0 additions & 183 deletions
183
packages/hedera-wallet-snap/packages/snap/src/utils/__tests__/HederaUtils.spec.ts
This file was deleted.
Oops, something went wrong.