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
ac611145
Unverified
Commit
ac611145
authored
Jun 30, 2020
by
Sam Shleifer
Committed by
GitHub
Jun 30, 2020
Browse files
[CI] gh runner doesn't use -v, cats new result (#5409)
parent
27a7fe7a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
.circleci/config.yml
.circleci/config.yml
+4
-1
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+3
-1
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+3
-1
No files found.
.circleci/config.yml
View file @
ac611145
...
@@ -57,7 +57,10 @@ jobs:
...
@@ -57,7 +57,10 @@ jobs:
steps
:
steps
:
-
checkout
-
checkout
-
run
:
sudo pip install .[mecab,testing]
-
run
:
sudo pip install .[mecab,testing]
-
run
:
python -m pytest -sv ./tests/test_tokenization_bert_japanese.py
-
run
:
python -m pytest -s ./tests/test_tokenization_bert_japanese.py | tee output.txt
-
store_artifacts
:
path
:
~/transformers/output.txt
destination
:
test_output.txt
run_examples_torch
:
run_examples_torch
:
working_directory
:
~/transformers
working_directory
:
~/transformers
docker
:
docker
:
...
...
.github/workflows/self-push.yml
View file @
ac611145
...
@@ -51,7 +51,9 @@ jobs:
...
@@ -51,7 +51,9 @@ jobs:
USE_CUDA
:
yes
USE_CUDA
:
yes
run
:
|
run
:
|
source .env/bin/activate
source .env/bin/activate
python -m pytest -n 2 --dist=loadfile -s -v ./tests/ | tee output.txt
python -m pytest -n 2 --dist=loadfile -s ./tests/ | tee output.txt
-
name
:
cat output.txt
run
:
cat output.txt
-
name
:
Upload output.txt
-
name
:
Upload output.txt
uses
:
actions/upload-artifact@v1
uses
:
actions/upload-artifact@v1
with
:
with
:
...
...
.github/workflows/self-scheduled.yml
View file @
ac611145
...
@@ -46,7 +46,9 @@ jobs:
...
@@ -46,7 +46,9 @@ jobs:
USE_CUDA
:
yes
USE_CUDA
:
yes
run
:
|
run
:
|
source .env/bin/activate
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s -v ./tests/ | tee output.txt
python -m pytest -n 1 --dist=loadfile -s ./tests/ | tee output.txt
-
name
:
cat output.txt
run
:
cat output.txt
-
name
:
Upload output.txt
-
name
:
Upload output.txt
uses
:
actions/upload-artifact@v1
uses
:
actions/upload-artifact@v1
with
:
with
:
...
...
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