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
3df55cc1
Unverified
Commit
3df55cc1
authored
Dec 08, 2022
by
mergify[bot]
Committed by
GitHub
Dec 08, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4303 from ethereum-optimism/jm/ci-verify-test-names
Verify test names in CI
parents
adb0e0bd
c5d77113
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
package.json
packages/contracts-bedrock/package.json
+2
-1
forge-test-names.ts
packages/contracts-bedrock/scripts/forge-test-names.ts
+2
-2
No files found.
packages/contracts-bedrock/package.json
View file @
3df55cc1
...
...
@@ -31,7 +31,8 @@
"slither"
:
"./scripts/slither.sh"
,
"clean"
:
"rm -rf ./dist ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo ./src/contract-artifacts.ts"
,
"lint:ts:check"
:
"eslint . --max-warnings=0"
,
"lint:contracts:check"
:
"yarn solhint -f table 'contracts/**/*.sol'"
,
"lint:forge-tests:check"
:
"ts-node scripts/forge-test-names.ts"
,
"lint:contracts:check"
:
"yarn solhint -f table 'contracts/**/*.sol' && yarn lint:forge-tests:check"
,
"lint:check"
:
"yarn lint:contracts:check && yarn lint:ts:check"
,
"lint:ts:fix"
:
"eslint --fix ."
,
"lint:contracts:fix"
:
"yarn prettier --write 'contracts/**/*.sol'"
,
...
...
packages/contracts-bedrock/scripts/forge-test-names.ts
View file @
3df55cc1
...
...
@@ -78,8 +78,8 @@ const main = async () => {
}
}
if
(
errors
)
{
console
.
error
(
errors
.
join
(
'
\n
'
)
)
if
(
errors
.
length
>
0
)
{
console
.
error
(
...
errors
)
process
.
exit
(
1
)
}
}
...
...
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