You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And, each repository has its own command to execute the tests:
npm run test:pipeline${ID}-${NUM}
npx hardhat test --grep "${TETS_NAME}"
yarn test:runAll${ID}
Since the groups are split with no meaning, select CI checks for PR then input /run-ci is stupid, too.
Because there are only two choices: choose none or choose all.
The text was updated successfully, but these errors were encountered:
And, each repository is split into several parts without any meaning.
We have previously discussed that the openzeppelin-contracts are divided into different parts for parallel execution, primarily because the test cases take too long to run. Just for OCT 11, it takes about an hour.
runAll0, runAll1, runAll2 are also divisions made for parallel execution. Each 'runAll' executes its test cases in parallel. Due to limitations in machine resources, it's not feasible to run all test cases simultaneously, hence the need for grouping. Grouping also has another advantage. Currently, it's difficult to pinpoint problems solely based on workflow logs. Once runAll1 fails, we only need to execute the test cases in runAll1 locally to identify the issue, rather than needing to execute runAll2.
Goals
Each revision of the codes has a corresponding revision of test codes.
e.g. Do git bisect will be difficult.
Each PR could pass all checks, even they have to update the tests.
If using
workflow_dispatch
to run checks for PR, then only workflow scripts in default branch will be executed.So, even you update the workflow scripts, they won't work.
That means that the revision information of tests should not put in workflow scripts.
Group by meaningful topics.
Currently, the tests are tracked in 5 different repositories.
The 5 different repositories are:
And, each repository is split into several parts without any meaning.
runAll0
,runAll1
,runAll2
.OCT 1-5
,OCT 6-10
OCT 11
OCT 12-15
OCT 16-19
.And, each repository has its own command to execute the tests:
npm run test:pipeline${ID}-${NUM}
npx hardhat test --grep "${TETS_NAME}"
yarn test:runAll${ID}
Since the groups are split with no meaning, select CI checks for PR then input
/run-ci
is stupid, too.Because there are only two choices: choose none or choose all.
The text was updated successfully, but these errors were encountered: