File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # yamllint disable rule:line-length
3+ name : Test healthcheck repo
4+
5+ on : # yamllint disable-line rule:truthy
6+ push :
7+ pull_request :
8+
9+ jobs :
10+ simpletest :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Verify healthcheck docker build and up
15+ run : |
16+ sudo apt-get -y install git lavacli
17+ git clone https://github.com/Baylibre/lava-docker
18+ cd lava-docker && ./lavalab-gen.py boards-ci-hc.yaml
19+ cd output/local && docker compose build
20+ - name : Launch lava-docker
21+ run : cd lava-docker/output/local && docker compose up -d
22+ - name : Wait for LAVA to be started
23+ run : cd lava-docker && sh .github/workflows/wait-for-docker.sh
24+ - name : Wait for first job to be completed
25+ # yamllint disable-line rule:line-length
26+ run : cd lava-docker/ && sh .github/workflows/lavacli.sh jobs wait 1
27+ - name : Check if all is okay
28+ # yamllint disable-line rule:line-length
29+ run : cd lava-docker/ && sh .github/workflows/lavacli.sh health 1
You can’t perform that action at this time.
0 commit comments