Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
3c8d401c
Unverified
Commit
3c8d401c
authored
Nov 02, 2020
by
Lysandre Debut
Committed by
GitHub
Nov 02, 2020
Browse files
Patch reports (#8238)
parent
93354bc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
22 deletions
+26
-22
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+26
-22
No files found.
.github/workflows/self-scheduled.yml
View file @
3c8d401c
...
...
@@ -64,7 +64,7 @@ jobs:
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_test_torch_failures_short.txt
run
:
cat reports/report_test
s
_torch_failures_short.txt
-
name
:
Run examples tests on GPU
if
:
${{ always() }}
...
...
@@ -158,7 +158,21 @@ jobs:
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_test_tf_failures_short.txt
run
:
cat reports/report_tests_tf_failures_short.txt
-
name
:
Run all pipeline tests on GPU
env
:
TF_FORCE_GPU_ALLOW_GROWTH
:
"
true"
OMP_NUM_THREADS
:
1
RUN_SLOW
:
yes
RUN_PIPELINE_TESTS
:
yes
run
:
|
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s tests -m is_pipeline_test --make_reports=tests_tf_pipelines tests
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_tests_tf_pipelines_failures_short.txt
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
...
...
@@ -177,7 +191,7 @@ jobs:
id
:
cache
with
:
path
:
.env
key
:
v
0
.1-slow_tests_torch_multi_gpu-${{ hashFiles('setup.py') }}
key
:
v
1
.1-slow_tests_torch_multi_gpu-${{ hashFiles('setup.py') }}
-
name
:
Python version
run
:
|
...
...
@@ -222,22 +236,8 @@ jobs:
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_test_torch_failures_short.txt
run
:
cat reports/report_test
s
_torch_failures_short.txt
-
name
:
Run examples tests on GPU
if
:
${{ always() }}
env
:
OMP_NUM_THREADS
:
1
RUN_SLOW
:
yes
run
:
|
source .env/bin/activate
pip install -r examples/requirements.txt
python -m pytest -n 1 --dist=loadfile -s --make_reports=examples_torch examples
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_examples_torch_failures_short.txt
-
name
:
Run all pipeline tests on GPU
if
:
${{ always() }}
env
:
...
...
@@ -270,7 +270,7 @@ jobs:
id
:
cache
with
:
path
:
.env
key
:
v
0
.1-slow_tests_tf_multi_gpu-${{ hashFiles('setup.py') }}
key
:
v
1
.1-slow_tests_tf_multi_gpu-${{ hashFiles('setup.py') }}
-
name
:
Python version
run
:
|
...
...
@@ -311,7 +311,11 @@ jobs:
RUN_SLOW
:
yes
run
:
|
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s ./tests/ --durations=0
python -m pytest -n 1 --dist=loadfile -s tests --make_reports=tests_tf tests
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_tests_tf_failures_short.txt
-
name
:
Run all pipeline tests on GPU
env
:
...
...
@@ -321,11 +325,11 @@ jobs:
RUN_PIPELINE_TESTS
:
yes
run
:
|
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s
./
tests
/
-m is_pipeline_test --
durations=50
python -m pytest -n 1 --dist=loadfile -s tests -m is_pipeline_test --
make_reports=tests_tf_pipelines tests
-
name
:
Failure short reports
if
:
${{ always() }}
run
:
cat reports/report_test_tf_failures_short.txt
run
:
cat reports/report_test
s
_tf_
pipelines_
failures_short.txt
-
name
:
Test suite reports artifacts
if
:
${{ always() }}
...
...
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