Skip to content

Commit

Permalink
Revert changed in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepapadim committed Sep 17, 2021
1 parent e1e732a commit 8b068a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ stage('Build') {

stage('Unit Test') {
parallel 'python3: GPU': {
if (docs == 1) {
node('TensorCore') {
ws(per_exec_ws('tvm/ut-python-gpu')) {
init_git()
Expand All @@ -323,6 +324,9 @@ stage('Unit Test') {
}
}
}
} else {
Utils.markStageSkippedForConditional('python3: i386')
}
},
'python3: i386': {
if (docs == 1) {
Expand All @@ -340,7 +344,7 @@ stage('Unit Test') {
}
}
} else {
Utils.markStageSkippedForConditional('python3: i386')
Utils.markStageSkippedForConditional('python3: i386')
}
},
'python3: arm': {
Expand All @@ -363,7 +367,7 @@ stage('Unit Test') {
}
},
'java: GPU': {
if (true) {
if ( docs == 1 ) {
node('GPU') {
ws(per_exec_ws('tvm/ut-java')) {
init_git()
Expand Down
Empty file removed docs/empty.txt
Empty file.
Empty file removed docs/newf.txt
Empty file.
2 changes: 1 addition & 1 deletion tests/scripts/git_check_tree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DOCS_DIR=0
OTHER_DIR=0
DOC_DIR="\docs"

changed_files=`git diff --no-commit-id --name-only -r HEAD~1`
changed_files=`git diff --no-commit-id --name-only -r origin/main`

for file in $changed_files; do
if grep -q "$DOC_DIR" <<< "$file"; then
Expand Down

0 comments on commit 8b068a8

Please sign in to comment.