modify expression style

This commit is contained in:
hongzhan Chen
2020-01-12 19:17:25 -05:00
committed by ZhongbaoShi
parent 36039fa727
commit a3a4c7ff0c
+3 -4
View File
@@ -12,17 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: install
run: |
sudo apt-get purge moby-engine moby-cli
sudo apt-get install docker.io bats -f
sudo modprobe -r overlay
sudo modprobe overlay redirect_dir=off
sudo systemctl restart docker
- name: Run test
- name: run test
run: |
dir=$(pwd)
cd ${{matrix.node}}
docker build -t clearlinux/${{ matrix.node }} .
docker build -t clearlinux/${{matrix.node}} .
cd $dir
if [ -d "./tests/${{ matrix.node }}" ]; then cd tests; make ${{ matrix.node }}; fi
if [ -d "./tests/${{matrix.node}}" ]; then cd tests; make ${{matrix.node}}; fi