Skip to content

Commit

Permalink
chore(github): disable invariant and integration workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickGT committed Aug 19, 2024
1 parent 1ae3c11 commit 09ddadf
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: Forge Integration Tests

on:
push:
branches:
- main
- spoke
pull_request:

permissions: write-all

jobs:
check:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run Forge build
run: |
forge --version
make sizes
id: build

- name: Run Forge integration tests
run: make integration profile=ci
# name: Forge Integration Tests
#
# on:
# push:
# branches:
# - main
# - spoke
# pull_request:
#
# permissions: write-all
#
# jobs:
# check:
# name: Integration Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
#
# - name: Run Forge build
# run: |
# forge --version
# make sizes
# id: build
#
# - name: Run Forge integration tests
# run: make integration profile=ci
72 changes: 36 additions & 36 deletions .github/workflows/test-invariant.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: Forge Invariant Tests

on:
push:
branches:
- main
- spoke
pull_request:

permissions: write-all

jobs:
check:
name: Invariant Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run Forge build
run: |
forge --version
make sizes
id: build

- name: Run Forge invariant tests
run: make invariant profile=ci
env:
# make fuzzing semi-deterministic to avoid noisy gas cost estimation
# due to non-deterministic fuzzing (but still use pseudo-random fuzzing seeds)
FOUNDRY_FUZZ_SEED: 0x${{ github.event.pull_request.base.sha || github.sha }}
MNEMONIC: ${{ secrets.MNEMONIC_FOR_TESTS }}
# name: Forge Invariant Tests
#
# on:
# push:
# branches:
# - main
# - spoke
# pull_request:
#
# permissions: write-all
#
# jobs:
# check:
# name: Invariant Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
#
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
#
# - name: Run Forge build
# run: |
# forge --version
# make sizes
# id: build
#
# - name: Run Forge invariant tests
# run: make invariant profile=ci
# env:
# # make fuzzing semi-deterministic to avoid noisy gas cost estimation
# # due to non-deterministic fuzzing (but still use pseudo-random fuzzing seeds)
# FOUNDRY_FUZZ_SEED: 0x${{ github.event.pull_request.base.sha || github.sha }}
# MNEMONIC: ${{ secrets.MNEMONIC_FOR_TESTS }}

0 comments on commit 09ddadf

Please sign in to comment.