Skip to content

Commit

Permalink
chore: solidity CI (#1)
Browse files Browse the repository at this point in the history
* chore: solidity CI

---------

Co-authored-by: Matt Czernik <matt.czernik@gmail.com>
  • Loading branch information
Autoparallel and kinrezC authored Feb 20, 2024
1 parent d3e598c commit 1d389b4
Show file tree
Hide file tree
Showing 94 changed files with 27 additions and 94 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/solidity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: [push]

name: Solidity

jobs:
check:
name: forge test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: install foundry
uses: foundry-rs/foundry-toolchain@v1

- name: run tests
run: forge test --via-ir -vvv
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}

- name: run snapshot
run: forge snapshot --via-ir
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
1 change: 0 additions & 1 deletion out/Allocate.t.sol/DFMMAllocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Allocate.t.sol/G3MAllocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Allocate.t.sol/LogNormalAllocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ArbMath.sol/ArbMath.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ArbiterToken.sol/ArbiterToken.json

This file was deleted.

1 change: 0 additions & 1 deletion out/AtomicV2.sol/AtomicV2.json

This file was deleted.

1 change: 0 additions & 1 deletion out/AtomicV2.sol/LiquidExchange.json

This file was deleted.

1 change: 0 additions & 1 deletion out/AtomicV2.sol/StrategyLike.json

This file was deleted.

1 change: 0 additions & 1 deletion out/AtomicV2.sol/TokenLike.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/CommonBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/ScriptBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Base.sol/TestBase.json

This file was deleted.

1 change: 0 additions & 1 deletion out/BisectionLib.sol/BisectionLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Coin.sol/Coin.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ConstantSum.sol/ConstantSum.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ConstantSumLib.sol/ConstantSumLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ConstantSumSolver.sol/ConstantSumSolver.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ConstantSumTest.t.sol/ConstantSumTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Constructor.t.sol/DFMMConstructorTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/DFMM.sol/DFMM.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Deallocate.t.sol/DFMMDeallocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Deallocate.t.sol/G3MDeallocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Deallocate.t.sol/LogNormalDeallocateTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Deployment.s.sol/DeploymentScript.json

This file was deleted.

1 change: 0 additions & 1 deletion out/DynamicParamLib.sol/DynamicParamLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/DynamicParamLib.t.sol/DynamicParamLibTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ERC20.sol/ERC20.json

This file was deleted.

1 change: 0 additions & 1 deletion out/FixedPointMathLib.sol/FixedPointMathLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3M.sol/G3M.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3M.t.sol/G3MAttackTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3M.t.sol/G3MTestFork.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3M.t.sol/USDC.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3MExtendedLib.sol/G3MExtendedLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3MLib.sol/G3MLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3MLib.t.sol/G3MLibTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3MSolver.sol/G3MSolver.json

This file was deleted.

1 change: 0 additions & 1 deletion out/G3MTest.t.sol/G3MTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Gaussian.sol/Gaussian.json

This file was deleted.

1 change: 0 additions & 1 deletion out/IDFMM.sol/IDFMM.json

This file was deleted.

1 change: 0 additions & 1 deletion out/IStrategy.sol/IStrategy.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Init.t.sol/DFMMInit.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Init.t.sol/G3MInitTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Init.t.sol/LogNormalInitTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Invariant.sol/Invariant.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LPToken.sol/LPToken.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LPToken.t.sol/LPTokenTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/Lex.sol/Lex.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LibString.sol/LibString.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormal.sol/LogNormal.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormal.t.sol/LogNormalTestFork.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormalExtendedLib.sol/LogNormalExtendedLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormalLib.sol/LogNormalLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormalMath.sol/LogNormalMath.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormalSolver.sol/LogNormalSolver.json

This file was deleted.

1 change: 0 additions & 1 deletion out/LogNormalTest.t.sol/LogNormalTest.json

This file was deleted.

1 change: 0 additions & 1 deletion out/MockERC20.sol/MockERC20.json

This file was deleted.

1 change: 0 additions & 1 deletion out/MockStrategy.sol/MockStrategy.json

This file was deleted.

1 change: 0 additions & 1 deletion out/PortfolioTracker.sol/PortfolioTracker.json

This file was deleted.

1 change: 0 additions & 1 deletion out/PortfolioTracker.sol/TokenLike.json

This file was deleted.

1 change: 0 additions & 1 deletion out/SafeTransferLib.sol/SafeTransferLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ScalingLib.sol/ScalingLib.json

This file was deleted.

1 change: 0 additions & 1 deletion out/ScalingLib.t.sol/ScalingLibTest.json

This file was deleted.

Loading

0 comments on commit 1d389b4

Please sign in to comment.