run-network-tests.yml 747 B

12345678910111213141516171819202122232425
  1. name: run-network-tests
  2. on:
  3. pull_request:
  4. types: [labeled]
  5. workflow_dispatch:
  6. jobs:
  7. run_ansible_tests:
  8. if: github.event.label.name == 'run-network-tests' || github.event.action == null
  9. name: run network tests using ansible
  10. runs-on: ubuntu-latest
  11. strategy:
  12. matrix:
  13. node-version: [12.x]
  14. steps:
  15. - uses: actions/checkout@v1
  16. - uses: actions/setup-node@v1
  17. with:
  18. node-version: ${{ matrix.node-version }}
  19. - name: install toolchain
  20. run: curl https://getsubstrate.io -sSf | bash -s -- --fast
  21. - name: ansible build and tests
  22. run: |
  23. cd ./devops/ansible
  24. ansible-playbook -i hosts build-and-run-tests-single-node-playbook.yml --become -v