arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
Add action to trigger tests in integration-testing
Pedro grilo pedrosousagrilo@gmail.com
Mon, 18 Jan 2021 23:47:19 +0000
commit

1e7f903cf96bebd36f567322509a6f9bd41c6ef0

parent

1ac2d783e90b090ae19d27d0091ff434eb9a2a95

1 files changed, 17 insertions(+), 0 deletions(-)

jump to
A .github/workflows/integration.yml

@@ -0,0 +1,17 @@

+name: Integration testing + +on: + push: + branches: + - master + +jobs: + trigger-integration: + runs-on: ubuntu-latest + steps: + - name: send event to integration-testing + run: | + curl -X POST https://api.github.com/repos/hermeznetwork/integration-testing/actions/workflows/update.yml/dispatches \ + -H 'Accept: application/vnd.github.v3+json' \ + -u ${{ secrets.INT_BOT_ACCESS_TOKEN }} \ + --data '{"ref":"main","inputs": {"repository": "hermeznetwork/hermez-node"}}'