Skip to content

Commit

Permalink
work on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
simonDos committed Jul 14, 2024
1 parent 4b864a4 commit e7cd12a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
- name: Run Forge build
run: |
forge --version
forge build --sizes
forge build --sizes --skip test
id: build

- name: Run Forge tests
run: if test -d test/foundry && find test/foundry -name '*.sol' | grep -q .; then forge test -vvv; else echo "No .sol files found in test/foundry directory. Skipping Forge tests."; fi
run: if test -d test/foundry && find test/foundry -name '*.sol' | grep -q .; then FOUNDRY_PROFILE=0_8_4 forge test -vvv; else echo "No .sol files found in test/foundry directory. Skipping Forge tests."; fi
id: test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "forge build --skip test",
"test:hardhat": "npx hardhat test",
"generate-interfaces": "scripts/helpers/generateInterfaces.sh",
"test:foundry": "export FOUNDRY_PROFILE=0_8_4 && forge test",
"test:foundry": "FOUNDRY_PROFILE=0_8_4 forge test",
"test:ci": "scripts/run-test.sh",
"testrpc": "ganache --chain.hardfork istanbul --wallet.mnemonic 'clock radar mass judge dismiss just intact mind resemble fringe diary casino' -p 8545 --gasLimit 10000000 --gasPrice 0 --chain.allowUnlimitedContractSize --accounts 200",
"template:process": "node scripts/process-templates.cjs",
Expand Down

0 comments on commit e7cd12a

Please sign in to comment.