Skip to content

Commit

Permalink
update ci (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: comcat <comc29618@gmail.com>
  • Loading branch information
bixia and comcat29618 authored Apr 15, 2024
1 parent a9880dd commit 372acd5
Show file tree
Hide file tree
Showing 12 changed files with 2,655 additions and 656 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- run: npm install
- run: npx hardhat --config hardhat.config.js compile
- run: npx hardhat --config hardhat.config.5.js compile
- run: npx hardhat coverage --testfiles "test_pmm/test_market_maker.js" --solcoverjs ./solcover.js
# - run: npx hardhat coverage --testfiles "test_pmm/test_market_maker.js" --solcoverjs ./solcover.js
- run: npx hardhat coverage --testfiles "test_unxswap/test_unxswap_path.js" --solcoverjs ./solcover.js
- run: npx hardhat coverage --testfiles "test_unxswapV3/test_unxswap_v3_path.js" --solcoverjs ./solcover.js
- run: npx hardhat coverage --testfiles "test_sor/test_dex_sor_path.js" --solcoverjs ./solcover.js
2 changes: 1 addition & 1 deletion .github/workflows/run-semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Fetch semgrep rules
uses: actions/checkout@v3
with:
repository: OKX-Web3/semgrep-smart-contracts
repository: OKX/semgrep-smart-contracts
path: rules
# Run security and gas optimization rules
- run: semgrep ci
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ jobs:
- run: npm install
- run: npx hardhat --config hardhat.config.js compile
- run: npx hardhat --config hardhat.config.5.js compile
- run: npx hardhat test test_pmm/test_market_maker.js
# - run: npx hardhat test test_pmm/test_market_maker.js
- run: npx hardhat test test_unxswap/test_unxswap_path.js
- run: npx hardhat test test_unxswapV3/test_unxswap_v3_path.js
- run: npx hardhat test test_sor/test_dex_sor_path.js
- run: npx hardhat test test_unxswap/test_unxswap_path_commission.js
- run: npx hardhat test test_unxswapV3/test_unxswap_v3_path_commission.js
- run: npx hardhat test test_sor/test_dex_sor_path_commission.js
- run: npx hardhat test test_unxswap/test_unxswap_path_commission_to.js
- run: npx hardhat test test_unxswapV3/test_unxswap_v3_path_commission_to.js
- run: npx hardhat test test_sor/test_dex_sor_path_commission_to.js

Loading

0 comments on commit 372acd5

Please sign in to comment.