update citest.yaml

pull/2/head
wenmeng.zwm 2022-04-02 21:09:23 +08:00
parent c75e745ce3
commit 2628b221f7
1 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,9 @@ name: citest
on: on:
push: push:
branches:
- master
- "release/**"
paths-ignore: paths-ignore:
- "docs/**" - "docs/**"
- "tools/**" - "tools/**"
@ -24,7 +27,7 @@ concurrency:
jobs: jobs:
ut-torch180: ut-torch180:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: [self-hosted, unittest-t4] runs-on: [unittest-t4]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -37,6 +40,7 @@ jobs:
- name: Run unittest - name: Run unittest
shell: bash shell: bash
run: | run: |
set -e
UNITTEST_OSS_CONFIG=~/.ossutilconfig.unittest UNITTEST_OSS_CONFIG=~/.ossutilconfig.unittest
if [ ! -e $UNITTEST_OSS_CONFIG ]; then if [ ! -e $UNITTEST_OSS_CONFIG ]; then
echo "$UNITTEST_OSS_CONFIG does not exists" echo "$UNITTEST_OSS_CONFIG does not exists"