Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
a2475155
Unverified
Commit
a2475155
authored
Mar 30, 2023
by
Mark Tyneway
Committed by
GitHub
Mar 30, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5293 from ethereum-optimism/jm/ci-fail-delay
ci(ctb): Run all CI contracts checks and fail at end.
parents
b315cda8
09fec462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
4 deletions
+31
-4
config.yml
.circleci/config.yml
+31
-4
No files found.
.circleci/config.yml
View file @
a2475155
...
...
@@ -330,7 +330,8 @@ jobs:
patterns
:
contracts-bedrock,hardhat-deploy-config
-
run
:
name
:
lint
command
:
yarn lint:check
command
:
|
yarn lint:check || echo "export LINT_STATUS=1" >> "$BASH_ENV"
working_directory
:
packages/contracts-bedrock
-
run
:
name
:
slither
...
...
@@ -342,18 +343,44 @@ jobs:
name
:
gas snapshot
command
:
|
forge --version
yarn gas-snapshot --check
yarn gas-snapshot --check
|| echo "export GAS_SNAPSHOT_STATUS=1" >> "$BASH_ENV"
environment
:
FOUNDRY_PROFILE
:
ci
working_directory
:
packages/contracts-bedrock
-
run
:
name
:
storage snapshot
command
:
yarn storage-snapshot && git diff --exit-code .storage-layout
command
:
|
yarn storage-snapshot
git diff --exit-code .storage-layout || echo "export STORAGE_SNAPSHOT_STATUS=1" >> "$BASH_ENV"
working_directory
:
packages/contracts-bedrock
-
run
:
name
:
invariant docs
command
:
yarn autogen:invariant-docs && git diff --exit-code ./invariant-docs/*.md
command
:
|
yarn autogen:invariant-docs
git diff --exit-code ./invariant-docs/*.md || echo "export INVARIANT_DOCS_STATUS=1" >> "$BASH_ENV"
working_directory
:
packages/contracts-bedrock
-
run
:
name
:
check statuses
command
:
|
if [[ "$LINT_STATUS" -ne 0 ]]; then
FAILED=1
echo "Linting failed, see job output for details."
fi
if [[ "$GAS_SNAPSHOT_STATUS" -ne 0 ]]; then
FAILED=1
echo "Gas snapshot failed, see job output for details."
fi
if [[ "$STORAGE_SNAPSHOT_STATUS" -ne 0 ]]; then
echo "Storage snapshot failed, see job output for details."
FAILED=1
fi
if [[ "$INVARIANT_DOCS_STATUS" -ne 0 ]]; then
echo "Invariant docs failed, see job output for details."
FAILED=1
fi
if [[ "$FAILED" -ne 0 ]]; then
exit 1
fi
contracts-bedrock-validate-spaces
:
docker
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment