Skip to content

fix: add --ffi flag to forge test in run-tests.sh #1

fix: add --ffi flag to forge test in run-tests.sh

fix: add --ffi flag to forge test in run-tests.sh #1

Workflow file for this run

# SPDX-FileCopyrightText: © 2025 Phala Network <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
name: KMS Auth-ETH Foundry Tests
on:
push:
paths:
- 'kms/auth-eth/**'
- '.github/workflows/foundry-test.yml'
pull_request:
paths:
- 'kms/auth-eth/**'
- '.github/workflows/foundry-test.yml'
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
defaults:
run:
working-directory: kms/auth-eth
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- 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 --ffi -vvv
id: test