mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 07:57:30 +08:00
disable the MacOS tests in jenkins
They've never really been enabled but they: 1. Are causing the tests to fail for various reasons (e.g., out of space). 2. Take time. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
66
ci/Jenkinsfile
vendored
66
ci/Jenkinsfile
vendored
@ -154,41 +154,41 @@ ansiColor('xterm') { withEnv(['TERM=xterm-color']) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
macOS: {
|
//macOS: {
|
||||||
setupStep('macos') { run ->
|
// setupStep('macos') { run ->
|
||||||
timeout(time: gotest_timeout, unit: 'MINUTES') {
|
// timeout(time: gotest_timeout, unit: 'MINUTES') {
|
||||||
run 'go get -v github.com/jstemmer/go-junit-report'
|
// run 'go get -v github.com/jstemmer/go-junit-report'
|
||||||
run "make gx-deps"
|
// run "make gx-deps"
|
||||||
|
|
||||||
try {
|
// try {
|
||||||
run test + ' -tags="nofuse" 2>&1 | tee output'
|
// run test + ' -tags="nofuse" 2>&1 | tee output'
|
||||||
run 'cat output | go-junit-report > junit-report-macos.xml'
|
// run 'cat output | go-junit-report > junit-report-macos.xml'
|
||||||
} catch (err) {
|
// } catch (err) {
|
||||||
throw err
|
// throw err
|
||||||
} finally {
|
// } finally {
|
||||||
/* IGNORE TEST FAILS */
|
// /* IGNORE TEST FAILS */
|
||||||
/* junit 'junit-report-*.xml' */
|
// /* junit 'junit-report-*.xml' */
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
//},
|
||||||
macSharness: {
|
//macSharness: {
|
||||||
setupStep('macos') { run ->
|
// setupStep('macos') { run ->
|
||||||
timeout(time: sharness_timeout, unit: 'MINUTES') {
|
// timeout(time: sharness_timeout, unit: 'MINUTES') {
|
||||||
run 'go get -v github.com/jstemmer/go-junit-report'
|
// run 'go get -v github.com/jstemmer/go-junit-report'
|
||||||
run "make gx-deps"
|
// run "make gx-deps"
|
||||||
|
|
||||||
try {
|
// try {
|
||||||
run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
|
// run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
|
||||||
} catch (err) {
|
// } catch (err) {
|
||||||
throw err
|
// throw err
|
||||||
} finally {
|
// } finally {
|
||||||
/* IGNORE TEST FAILS */
|
// /* IGNORE TEST FAILS */
|
||||||
/* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
|
// /* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
//},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
Reference in New Issue
Block a user