Skip to content

Commit

Permalink
add foundry anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 7, 2023
1 parent 1212d2c commit ae8d0b9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:

env:
PNPM_CACHE_FOLDER: .pnpm-store
VITE_ANVIL_FORK_URL: ${{ vars.VITE_ANVIL_FORK_URL }}
VITE_ANVIL_BLOCK_NUMBER: ${{ vars.VITE_ANVIL_BLOCK_NUMBER }}
VITE_ANVIL_SAFE_ADDRESS: ${{ vars.VITE_SAFE_ADDRESS }}

jobs:
build:
Expand Down Expand Up @@ -50,10 +47,19 @@ jobs:
- name: lint code
run: pnpm lint

- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: build packages
run: pnpm build
- run: pnpm test:coverage
- run: pnpm test:report
- name: run tests
run: pnpm test:coverage
env:
VITE_ANVIL_FORK_URL: ${{ vars.VITE_ANVIL_FORK_URL }}
VITE_ANVIL_BLOCK_NUMBER: ${{ vars.VITE_ANVIL_BLOCK_NUMBER }}
VITE_ANVIL_SAFE_ADDRESS: ${{ vars.VITE_SAFE_ADDRESS }}

# run coverage only on ubuntu
- name: Coveralls
Expand Down

0 comments on commit ae8d0b9

Please sign in to comment.