Skip to content

Workflow file for this run

name: Smoke tests
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
branches:
- main
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
docker-task:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Zombienet setup
wget https://github.com/paritytech/zombienet/releases/download/v1.3.100/zombienet-linux-x64

Check failure on line 27 in .github/workflows/smoke.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/smoke.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
chmod +x zombienet-linux
- name: Pull Docker Image
run: docker pull szegoo/regionx-node:latest
- name: Create Container
id: create-container
run: |
container_id=$(docker create szegoo/regionx-node:latest)
echo "::set-output name=container_id::$container_id"
- name: Copy Executable from Container
run: |
docker cp ${{ steps.create-container.outputs.container_id }}:/usr/bin/regionx-node .
- name: Run smoke test 0001
run: ./zombienet-linux -p native test ./zombienet_tests/0001-smoke-test.zndsl