Now we have a basic E2E test but it runs manually:
cd e2e
yarn
yarn test
We'd love to make it runs automatically. Phala has three core components: phala-node
, pherry
(formerly phost), and pruntime
. To run the e2e test, we have to build the three components first. We already have a Github Action called Build
to build the first two, but pruntime
is not covered.
For Bounty Hunters
- Deliverable:
- Add the automatic
pruntime
build to Github Action - Changes to Github Actions in this repo to run the E2E test automatically
- The test should use the artifacts produced by other actions to minimize the execution time
- Add the automatic
- Resources
- To build the project, follow the wiki tutorial environment section. The wiki is out-of-date, but it generally works expect we use rust nightly-2021-05-11 and llvm-10.
- To run the e2e test, enter
e2e/
and runyarn && yarn test
. You should havephala-node
,pherry
(phost in the tutorial), andpruntime
already compiled before running the e2e test.