Skip to content

Commit

Permalink
ci: Add CircleCI configuration for Foundry testing
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaele-oplabs committed Jan 31, 2025
1 parent 3b1e7bb commit 0c82baf
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 2.1


parameters:
workflow_trigger:
type: string
default: "push"

executors:
default:
docker:
- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:v0.47.3

jobs:
foundry-check:
executor: default
environment:
FOUNDRY_PROFILE: ci
steps:
- checkout

# Check formatting
- run:
name: Check formatting
command: |
forge fmt --check
# Run Forge tests (equivalent to the GitHub Action's forge test step)
- run:
name: Run Forge tests
command: |
forge test -vvv
workflows:
version: 2
foundry-workflow:
jobs:
- foundry-check
# - foundry-check:
# filters:
# branches:
# only:
# - main

0 comments on commit 0c82baf

Please sign in to comment.