Skip to content

Commit

Permalink
fix faiulures
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvol committed Dec 18, 2023
1 parent a639f6f commit e5f8a43
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/protocol_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ jobs:
run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/governance/validators/*"

- name: Run tests governance/voting
# can't use gas limit because some setUp function use more than the limit
if: success() || failure()
run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/governance/voting/*"
run: forge test -vvv --match-path "test-sol/governance/voting/*" # --block-gas-limit 20000000

- name: Run tests stability
if: success() || failure()
run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/stability/*"

- name: Fail if there are tests without folder
if: success() || failure()
run: ls test-sol | grep -i ".t.sol" | grep -q ˆ
run: ! ls test-sol | grep -qi '\.t\.sol'

- name: Run Everything just in case something was missed
# can't use gas limit because some setUp function use more than the limit
run: forge test -vvv

0 comments on commit e5f8a43

Please sign in to comment.