Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Use kubernetes based GHA self-hosted runners MGX-668 #605

Merged
merged 18 commits into from
Oct 4, 2023

feat: configure specific runners for e2e jobs to optimize resource us…

f623ef5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

CI: Use kubernetes based GHA self-hosted runners MGX-668 #605

feat: configure specific runners for e2e jobs to optimize resource us…
f623ef5
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-crowdloan succeeded Oct 4, 2023 in 1s

E2E report yarn test-crowdloan ✔️

Tests passed successfully

✔️ e2eTests/reports/junit-21331f10-629d-11ee-9dc7-1b90880de0b7.xml

12 tests were completed in 1803s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/crowdloan.API.claiming.test.ts 6✔️ 951s
test/sequential/crowdloan.API.test.ts 6✔️ 852s

✔️ test/sequential/crowdloan.API.claiming.test.ts

✔️ Users receive different rewards when they confirm them before, during and after crowdloan
✔️ A user can only change his reward-address with: crowdloan.updateRewardAddress AND user can claim some rewards if it provided some on the specified cl_id
Test that a user can claim when
  ✔️ CL1 is fully setup and no other CL is setup
  ✔️ CL1 is fully setup and CL2 setup the setCrowdloanAllocation
  ✔️ CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec
  ✔️ CL1 is fully setup and CL2 setup the setCrowdloanAllocation and RewardVec and completeInitialization

✔️ test/sequential/crowdloan.API.test.ts

Only sudo can
  ✔️ crowdloan.setCrowdloanAllocation(crowdloanAllocationAmount)
  ✔️ crowdloan.initializeCrowdloanRewardVec(rewards)
  ✔️ crowdloan.completeCrowdloanInitialization(leaseEndingBlock)
✔️ A reward needs to be fully setup with: setCrowdloanAllocation + initializeCrowdloanRewardVec + completeCrowdloanInitialization
✔️ CL needs to be setup in order
✔️ Total contributors returns the number of contributors per crowdloan AND validation of contributions is done when Initializing the cl rewards