Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
291bbbba
Unverified
Commit
291bbbba
authored
Nov 19, 2020
by
liuzhe-lz
Committed by
GitHub
Nov 19, 2020
Browse files
Fix macOS unit test pipeline (#3098)
parent
a3d22aea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
pipelines/fast-test.yml
pipelines/fast-test.yml
+11
-8
No files found.
pipelines/fast-test.yml
View file @
291bbbba
...
@@ -131,12 +131,16 @@ jobs:
...
@@ -131,12 +131,16 @@ jobs:
# This platform runs TypeScript unit test first.
# This platform runs TypeScript unit test first.
steps
:
steps
:
-
task
:
UsePythonVersion@0
inputs
:
versionSpec
:
3.8
displayName
:
Configure Python
-
script
:
|
-
script
:
|
set -e
set -e
export PYTHON38_BIN_DIR=/usr/local/Cellar/python@3.8/`ls /usr/local/Cellar/python@3.8`/bin
echo "##vso[task.setvariable variable=PATH]${PATH}:${HOME}/.local/bin"
echo "##vso[task.setvariable variable=PATH]${PYTHON38_BIN_DIR}:${HOME}/Library/Python/3.8/bin:${PATH}"
python -m pip install -U --upgrade pip setuptools wheel
python3 -m pip install -U --upgrade pip setuptools
python -m pip install -U pytest coverage
python3 -m pip install -U pytest coverage
displayName
:
'
Install
Python
tools'
displayName
:
'
Install
Python
tools'
-
script
:
|
-
script
:
|
...
@@ -145,10 +149,9 @@ jobs:
...
@@ -145,10 +149,9 @@ jobs:
-
script
:
|
-
script
:
|
set -e
set -e
cd ts/nni_manager
export CI=true
yarn test
(cd ts/nni_manager && yarn test)
cd ../nasui
(cd ts/nasui && yarn test)
CI=true yarn test
displayName
:
'
TypeScript
unit
test'
displayName
:
'
TypeScript
unit
test'
-
script
:
|
-
script
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment