diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml new file mode 100644 index 00000000000..7f0015302bb --- /dev/null +++ b/.github/workflows/rit.yml @@ -0,0 +1,33 @@ +name: Rootstock Integration Tests + +on: + pull_request: + types: + - opened + - reopened + - synchronize + branches: + - "master" + - "*-rc" + issue_comment: + types: + - created + - edited + +jobs: + rootstock-integration-tests: + name: Rootstock Integration Tests + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - name: Check out the code + uses: actions/checkout@v4 + + - name: Test execution + if: | + (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/pipeline:run')) || + (github.event_name == 'pull_request') + uses: rsksmart/rootstock-integration-tests@v1 + with: + rskj-branch: ${{ github.head_ref || 'master' }} + powpeg-node-branch: ${{ github.head_ref || 'master' }}