Skip to content

Commit

Permalink
++ foundry test to existing ci
Browse files Browse the repository at this point in the history
Signed-off-by: Mo Shaikjee <[email protected]>
  • Loading branch information
mshakeg committed Oct 12, 2023
1 parent 4265354 commit 90f1fe2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 38 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/foundry.yml

This file was deleted.

19 changes: 15 additions & 4 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
node-version: 18.15
cache: npm

- name: Create .env file
run: cp local.env .env

- name: Install dependencies
run: npm ci

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand All @@ -42,11 +48,16 @@ jobs:
- name: Install foundry dependencies
run: forge install

- name: Create .env file
run: cp local.env .env
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Install dependencies
run: npm ci
- name: Run Forge tests
run: |
forge test -vvv
id: test

- name: Start the local node
run: npx hedera start -d --network local
Expand Down

0 comments on commit 90f1fe2

Please sign in to comment.