Skip to content

Commit

Permalink
ci: add workflow for solidity-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpisreddevil committed Oct 6, 2023
1 parent 4de4f86 commit 2cea613
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/solidity-contracts-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Solidity Contracts tests

on:
pull_request:
branches:
- "**"
paths:
- "contracts/evm/**"
- ".github/workflows/solidity-cov.yml"
push:
branches:
- "**"

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

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

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test

0 comments on commit 2cea613

Please sign in to comment.