From 7f0b1499028d01c1b08136f28e7e3a39c75d9561 Mon Sep 17 00:00:00 2001 From: Reynold Morel Date: Wed, 28 Aug 2024 15:57:46 -0400 Subject: [PATCH] Adding Rootstock Integration Tests workflow --- .github/workflows/rit.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/rit.yml 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' }}