Skip to content

add more tests

add more tests #25

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
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: Build Keccak Lib
run: make deps
- 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:
version: nightly
- name: Show Forge version
run: |
forge --version
- name: Run Forge fmt
run: |
forge fmt --check
id: fmt
- name: Run Forge build
run: |
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test