Skip to content

Allow manual CI runs #31

Allow manual CI runs

Allow manual CI runs #31

Workflow file for this run

name: Main Branch CI example
on:
workflow_dispatch
push:

Check failure on line 5 in .github/workflows/main-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
branches: main
jobs:
test_on_target:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout zenoh
uses: actions/checkout@v4
with:
repository: eclipse-zenoh/zenoh
path: zenoh
ref: '0.11.0'
- name: test Zenoh
run: |
set -x
sudo chown -R 1000 zenoh
time docker run \
-v $(realpath zenoh):/src \
-v $(realpath scripts):/scripts \
-e "CI_COMMAND=/scripts/setup_host.sh && /scripts/test-zenoh.sh --only-one-test" \
ghcr.io/flba-eb/ebcl_cicd_template:main