Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bulbozaur committed Oct 25, 2024
1 parent 534ab6b commit 8ceb40c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Forge Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install dependencies
run: yarn install --immutable

- name: Run Forge tests
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
run: |
forge test --rpc-url $MAINNET_RPC_URL --report report.json
- name: Upload test report
uses: actions/upload-artifact@v2
with:
name: forge-test-report
path: report.json

0 comments on commit 8ceb40c

Please sign in to comment.