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
chenpangpang
transformers
Commits
bf0d12c2
Unverified
Commit
bf0d12c2
authored
Jun 26, 2020
by
Sam Shleifer
Committed by
GitHub
Jun 26, 2020
Browse files
CircleCI stores cleaner output at test_outputs.txt (#5291)
parent
601d4d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
.circleci/config.yml
.circleci/config.yml
+17
-9
No files found.
.circleci/config.yml
View file @
bf0d12c2
...
@@ -12,9 +12,11 @@ jobs:
...
@@ -12,9 +12,11 @@ jobs:
-
checkout
-
checkout
-
run
:
sudo pip install .[sklearn,tf-cpu,torch,testing]
-
run
:
sudo pip install .[sklearn,tf-cpu,torch,testing]
-
run
:
sudo pip install codecov pytest-cov
-
run
:
sudo pip install codecov pytest-cov
-
run
:
python -m pytest -n 8 --dist=loadfile -s
-v
./tests/ --cov
-
run
:
python -m pytest -n 8 --dist=loadfile -s ./tests/ --cov
| tee output.txt
-
run
:
codecov
-
run
:
codecov
-
store_artifacts
:
path
:
~/transformers/output.txt
destination
:
test_output.txt
run_tests_torch
:
run_tests_torch
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
@@ -26,9 +28,11 @@ jobs:
...
@@ -26,9 +28,11 @@ jobs:
steps
:
steps
:
-
checkout
-
checkout
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install codecov pytest-cov
-
run
:
python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
-
store_artifacts
:
-
run
:
codecov
path
:
~/transformers/output.txt
destination
:
test_output.txt
run_tests_tf
:
run_tests_tf
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
@@ -40,9 +44,10 @@ jobs:
...
@@ -40,9 +44,10 @@ jobs:
steps
:
steps
:
-
checkout
-
checkout
-
run
:
sudo pip install .[sklearn,tf-cpu,testing]
-
run
:
sudo pip install .[sklearn,tf-cpu,testing]
-
run
:
sudo pip install codecov pytest-cov
-
run
:
python -m pytest -n 8 --dist=loadfile -s ./tests/ | tee output.txt
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
-
store_artifacts
:
-
run
:
codecov
path
:
~/transformers/output.txt
destination
:
test_output.txt
run_tests_custom_tokenizers
:
run_tests_custom_tokenizers
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
@@ -65,7 +70,10 @@ jobs:
...
@@ -65,7 +70,10 @@ jobs:
-
checkout
-
checkout
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install .[sklearn,torch,testing]
-
run
:
sudo pip install -r examples/requirements.txt
-
run
:
sudo pip install -r examples/requirements.txt
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./examples/
-
run
:
python -m pytest -n 8 --dist=loadfile -s ./examples/ | tee output.txt
-
store_artifacts
:
path
:
~/transformers/output.txt
destination
:
test_output.txt
build_doc
:
build_doc
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
...
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