Github actions: added a fcgi restconf test
This commit is contained in:
parent
1336a4ccfb
commit
c8a8197e92
1 changed files with 38 additions and 7 deletions
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
- name: install example
|
||||
run: (cd example; sudo make install)
|
||||
|
||||
docker-alpine-tests-a-m:
|
||||
docker-alpine-test-1:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -80,10 +80,10 @@ jobs:
|
|||
run: sudo docker build -f Dockerfile.native -t clixon/clixon-test .
|
||||
- name: start container
|
||||
run: ./start.sh
|
||||
- name: run test a-m
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_a*.sh test_c*.sh test_d*.sh test_f*.sh test_h*.sh test_i*.sh test_j*.sh test_l*.sh test_m*.sh" ./sum.sh'
|
||||
- name: run test a-m,p
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_a*.sh test_c*.sh test_d*.sh test_f*.sh test_h*.sh test_i*.sh test_j*.sh test_l*.sh test_m*.sh test_o*.sh" ./sum.sh'
|
||||
|
||||
docker-alpine-tests-n-p:
|
||||
docker-alpine-test-2:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -111,10 +111,10 @@ jobs:
|
|||
run: sudo docker build -f Dockerfile.native -t clixon/clixon-test .
|
||||
- name: start container
|
||||
run: ./start.sh
|
||||
- name: run test n-p
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_n*.sh test_o*.sh test_p*.sh" ./sum.sh'
|
||||
- name: run test n-o
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_n*.sh test_p*.sh" ./sum.sh'
|
||||
|
||||
docker-alpine-tests-r-z:
|
||||
docker-alpine-test-3:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
@ -144,3 +144,34 @@ jobs:
|
|||
run: ./start.sh
|
||||
- name: run test r-y
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_r*.sh test_s*.sh test_t*.sh test_u*.sh test_w*.sh test_x*.sh test_y*.sh" ./sum.sh'
|
||||
|
||||
docker-alpine-test-fcgi-r:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./docker/test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# 2) Inline of make test, but without configure
|
||||
- name: in-line clone
|
||||
run: git clone file://$(realpath ../..)
|
||||
- name: openconfig
|
||||
run: mkdir -p openconfig; cd openconfig ; git clone https://github.com/openconfig/public
|
||||
- name: yangmodels1
|
||||
run: mkdir -p yang/standard
|
||||
- name: yangmodels2
|
||||
run: (cd yang; git init;)
|
||||
- name: yangmodels3
|
||||
run: (cd yang; git remote add -f origin https://github.com/YangModels/yang)
|
||||
- name: yangmodels4
|
||||
run: (cd yang; git config core.sparseCheckout true)
|
||||
- name: yangmodels5
|
||||
run: (echo "standard/" >> yang/.git/info/sparse-checkout; echo "experimental/" >> yang/.git/info/sparse-checkout)
|
||||
- name: yangmodels6
|
||||
run: (cd yang; git pull origin main)
|
||||
- name: make docker fcgi
|
||||
run: sudo docker build -f Dockerfile.fcgi -t clixon/clixon-test .
|
||||
- name: start container
|
||||
run: ./start.sh
|
||||
- name: run test r-y
|
||||
run: sudo docker exec -t clixon-test bash -c 'cd /usr/local/bin/test && detail=true pattern="test_r*.sh" ./sum.sh'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue