Skip to content

Commit

Permalink
feat: setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kosecki123 authored Nov 21, 2023
1 parent 7e4f093 commit 6acf9e4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: workflow_dispatch
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
FOUNDRY_PROFILE: ci
Expand All @@ -19,16 +23,14 @@ jobs:

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

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

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

0 comments on commit 6acf9e4

Please sign in to comment.