name: run-network-tests on: pull_request: types: [labeled] workflow_dispatch: jobs: run_ansible_tests: if: github.event.label.name == 'run-network-tests' || github.event.action == null name: run network tests using ansible runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: install toolchain run: curl https://getsubstrate.io -sSf | bash -s -- --fast - name: ansible build and tests run: | cd ./devops/ansible ansible-playbook -i hosts build-and-run-tests-single-node-playbook.yml --become -v