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
10724a81
Commit
10724a81
authored
Dec 24, 2019
by
Aymeric Augustin
Browse files
Run the slow tests every Monday morning.
parent
a8d34e53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
3 deletions
+29
-3
.circleci/config.yml
.circleci/config.yml
+29
-3
No files found.
.circleci/config.yml
View file @
10724a81
...
...
@@ -14,6 +14,20 @@ jobs:
-
run
:
sudo pip install codecov pytest-cov
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./tests/ --cov
-
run
:
codecov
run_all_tests_torch_and_tf
:
working_directory
:
~/transformers
docker
:
-
image
:
circleci/python:3.5
environment
:
OMP_NUM_THREADS
:
1
RUN_SLOW
:
yes
RUN_CUSTOM_TOKENIZERS
:
yes
resource_class
:
xlarge
parallelism
:
1
steps
:
-
checkout
-
run
:
sudo pip install .[mecab,sklearn,tf,torch,testing]
-
run
:
python -m pytest -n 8 --dist=loadfile -s -v ./tests/
run_tests_torch
:
working_directory
:
~/transformers
docker
:
...
...
@@ -46,10 +60,12 @@ jobs:
working_directory
:
~/transformers
docker
:
-
image
:
circleci/python:3.5
environment
:
RUN_CUSTOM_TOKENIZERS
:
yes
steps
:
-
checkout
-
run
:
sudo pip install .[mecab,testing]
-
run
:
RUN_CUSTOM_TOKENIZERS=1
python -m pytest -sv ./tests/test_tokenization_bert_japanese.py
-
run
:
python -m pytest -sv ./tests/test_tokenization_bert_japanese.py
run_examples_torch
:
working_directory
:
~/transformers
docker
:
...
...
@@ -115,3 +131,13 @@ workflows:
-
run_tests_torch
-
run_tests_tf
-
deploy_doc
:
*workflow_filters
run_slow_tests
:
triggers
:
-
schedule
:
cron
:
"
0
4
*
*
1"
filters
:
branches
:
only
:
-
master
jobs
:
-
run_all_tests_torch_and_tf
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