Skip to content

Commit

Permalink
run foundry tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Nov 4, 2024
1 parent 73f6e9a commit f808523
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ jobs:
with:
submodules: recursive

- name: Install Racket
uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: 'CS'
version: 'stable'

- run: raco pkg install --auto

- name: Create Puff Executable
run: |
mkdir -p $GITHUB_WORKSPACE/bin
raco exe -o $GITHUB_WORKSPACE/bin/puffc main.rkt
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand All @@ -39,7 +55,9 @@ jobs:
forge build --sizes
id: build

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

- name: Run Forge tests
run: |
forge test -vvv
id: test
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ src = "src"
out = "out"
libs = ["lib"]
evm_version = "shanghai"
ffi = true

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 comments on commit f808523

Please sign in to comment.