Skip to content

Commit

Permalink
disable snapshot tests for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Sep 12, 2023
1 parent 4cfbc78 commit e5580e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/solidity-foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
tests:
strategy:
matrix:
product: [ vrf, automation, llo-feeds, functions, automation-dev, shared ]
product: [vrf, automation, llo-feeds, functions, shared]
needs: [changes]
if: needs.changes.outputs.changes == 'true'
name: Tests
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
FOUNDRY_PROFILE: ${{ matrix.product }}

- name: Run Forge snapshot
if: ${{ !contains(fromJson('["vrf"]'), matrix.product) }}
if: ${{ !contains(fromJson('["vrf"]'), matrix.product) && !contains(fromJson('["automation"]'), matrix.product) }}
run: |
forge snapshot --nmt "testFuzz_\w{1,}?" --check gas-snapshots/${{ matrix.product }}.gas-snapshot
id: snapshot
Expand Down
2 changes: 1 addition & 1 deletion contracts/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ALL_FOUNDRY_PRODUCTS contains a list of all products that have a foundry
# profile defined. Adding a product to this list will make it available for
# snapshotting.
ALL_FOUNDRY_PRODUCTS = vrf automation llo-feeds functions automation-dev shared
ALL_FOUNDRY_PRODUCTS = vrf automation llo-feeds functions shared

# To make a snapshot for a specific product, either set the `FOUNDRY_PROFILE` env var
# or call the target with `FOUNDRY_PROFILE=product`
Expand Down
5 changes: 0 additions & 5 deletions contracts/gas-snapshots/automation-dev.gas-snapshot

This file was deleted.

0 comments on commit e5580e3

Please sign in to comment.