Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add py27-old test case to buildkite #4879

Merged
merged 7 commits into from
Mar 19, 2019
Merged

Conversation

erikjohnston
Copy link
Member

No description provided.

@erikjohnston erikjohnston marked this pull request as ready for review March 18, 2019 17:22
@erikjohnston erikjohnston requested a review from a team March 18, 2019 17:22
changelog.d/4879.misc Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 19, 2019

Codecov Report

Merging #4879 into develop will increase coverage by 18.14%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #4879       +/-   ##
============================================
+ Coverage    59.59%   77.73%   +18.14%     
============================================
  Files          326      326               
  Lines        33925    34107      +182     
  Branches      5597     5660       +63     
============================================
+ Hits         20218    26514     +6296     
+ Misses       12294     5965     -6329     
- Partials      1413     1628      +215

@codecov
Copy link

codecov bot commented Mar 19, 2019

Codecov Report

Merging #4879 into develop will increase coverage by 18.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop    #4879       +/-   ##
============================================
+ Coverage    59.59%   77.62%   +18.03%     
============================================
  Files          326      326               
  Lines        33925    34617      +692     
  Branches      5597     5810      +213     
============================================
+ Hits         20218    26873     +6655     
+ Misses       12294     6088     -6206     
- Partials      1413     1656      +243

@erikjohnston erikjohnston requested a review from a team March 19, 2019 12:18
tox.ini Outdated
commands =
/usr/bin/find "{toxinidir}" -name '*.pyc' -delete
# Make all greater-thans equals so we test the oldest version of our direct
# dependencies, but make the pyopenssl 17.0, which can work against an
# OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
/bin/sh -c 'python -m synapse.python_dependencies | sed -e "s/>=/==/g" -e "s/psycopg2==2.6//" -e "s/pyopenssl==16.0.0/pyopenssl==17.0.0/" | xargs pip install'
# Install Synapse itself. This won't update any libraries.
Copy link
Member

Choose a reason for hiding this comment

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

the comment was your friend

pip install -e .
{envbindir}/trial {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}

{envbindir}/coverage run "{envbindir}/trial" {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}
Copy link
Member

Choose a reason for hiding this comment

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

do we actually need to run the coverage checks here? is there any reason to imagine the coverage will be any different to the other runs?

Copy link
Member Author

Choose a reason for hiding this comment

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

The same could be said for a lot of tests tbh, I'd rather we just consistently did coverage stats than have to figure out which tests do and which don't.

Copy link
Member

Choose a reason for hiding this comment

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

fair

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm then

@erikjohnston erikjohnston merged commit 4aa0b70 into develop Mar 19, 2019
@erikjohnston erikjohnston deleted the erikj/test_old_deps branch January 9, 2020 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants