Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/gh/self-scheduled: add newline to make examples tests run even if src/ tests fail #6706

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

sshleifer
Copy link
Contributor

@sshleifer sshleifer commented Aug 25, 2020

At the moment, the examples tests dont run if the src/ tests don't
this is not the case for self-push I don't think. I don't know why.

Maybe you have an idea @julien-c ?

https://github.com/huggingface/transformers/runs/1024137280?check_suite_focus=true
image

Gunna merge this tomorrow cause it can't hurt, then try harder/stackoverflow if it doesn't work.

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #6706 into master will increase coverage by 0.64%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6706      +/-   ##
==========================================
+ Coverage   78.80%   79.44%   +0.64%     
==========================================
  Files         156      156              
  Lines       28386    28386              
==========================================
+ Hits        22369    22552     +183     
+ Misses       6017     5834     -183     
Impacted Files Coverage Δ
src/transformers/modeling_tf_flaubert.py 24.53% <0.00%> (-63.81%) ⬇️
src/transformers/file_utils.py 82.41% <0.00%> (+0.25%) ⬆️
src/transformers/modeling_tf_utils.py 86.64% <0.00%> (+1.30%) ⬆️
src/transformers/modeling_tf_electra.py 98.95% <0.00%> (+73.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ebc969...1887abe. Read the comment docs.

@sshleifer sshleifer self-assigned this Aug 25, 2020
@sshleifer sshleifer added the Tests Related to tests label Aug 25, 2020
@@ -58,6 +58,7 @@ jobs:
run: |
source .env/bin/activate
python -m pytest -n 1 --dist=loadfile -s ./tests/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will change anything though?

@LysandreJik
Copy link
Member

I'm pretty sure that the tests stop as soon as there's a failure in one of the items. It would seem logical since there could be a relationship between tests, e.g., a test needing the output of the previous test to continue.

Still merging because it looks more consistent this way!

@LysandreJik LysandreJik merged commit a99d09c into huggingface:master Aug 25, 2020
Zigur pushed a commit to Zigur/transformers that referenced this pull request Oct 26, 2020
fabiocapsouza pushed a commit to fabiocapsouza/transformers that referenced this pull request Nov 15, 2020
fabiocapsouza added a commit to fabiocapsouza/transformers that referenced this pull request Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants