-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applying some other suggestions from review
- Refactored the name from federator to powpeg-node - Created a regular user to be used by the process - Created a first version of a README for the action - Added exit codes to the actions
- Loading branch information
Showing
6 changed files
with
72 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Rootstock Integration Tests Action | ||
|
||
This action provides a containerized environment for running integration tests on Rootstock. | ||
It receives as inputs the branches of powpeg, rskj and rootstock-integration-tests repositories, | ||
checkout at the branches passed as parameters, build the projects and run the integration tests. | ||
|
||
The rootstock-integration-tests it's a project that tests the integration between rskj and powpeg-node, | ||
it validates that the peg-in and peg-out processes are working correctly. It's extremely important to both projects, | ||
and should be executed before any release of both projects or any merge to the master/main branch. | ||
|
||
## Inputs | ||
|
||
### `rskj-branch` | ||
|
||
**Optional** The rskj branch to checkout. Default is `master`. | ||
|
||
### `powpeg-node-branch` | ||
|
||
**Optional** The powpeg-node branch to checkout. Default is `master`. | ||
|
||
### `rit-branch` | ||
|
||
**Optional** The rootstock-integration-tests branch to checkout. Default is `main`. | ||
|
||
### `rit-log-level` | ||
|
||
**Optional** Log level for the rootstock-integration-tests. Default is `info`. | ||
|
||
## Outputs | ||
|
||
### `status` | ||
|
||
The status of the integration tests. | ||
|
||
### `message` | ||
|
||
The output message of the integration tests. | ||
|
||
## Example usage | ||
|
||
```yaml | ||
uses: docker://ghcr.io/rsksmart/rootstock-integration-tests/rit:latest | ||
with: | ||
rskj-branch: master | ||
powpeg-node-branch: master | ||
rit-branch: main | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ config/*.js | |
**/*.bip39 | ||
logs | ||
.env | ||
.DS_Store | ||
.DS_Store | ||
.idea/ |