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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 3.1.0a1 #877

Merged
merged 1 commit into from Jul 6, 2018
Merged

release 3.1.0a1 #877

merged 1 commit into from Jul 6, 2018

Conversation

gaborbernat
Copy link
Member

馃憤 take two

@gaborbernat gaborbernat force-pushed the release-3.1.0a1 branch 8 times, most recently from ea6515d to 73585a2 Compare July 6, 2018 16:27
project: yes
patch: yes
changes: no
project:
Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, let's report code coverage, but don't fail on it whatever the value is. The maintainer will make a judgment if the current value is ok or not (this takes care of flaky test reports, or cases when we don't want the CI to run fully - e.g. documentation only changes - AppVeyor).

@@ -1,3 +1,10 @@
if: tag IS present OR type = pull_request OR (branch = master AND type = push) # we only CI the master, tags and PRs
Copy link
Member Author

Choose a reason for hiding this comment

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

Build tags, pull requests and pushes on the master branch. Ignore all other.

stages:
- test
- name: deploy
if: repo = tox-dev/tox AND branch = master AND tag IS present
Copy link
Member Author

Choose a reason for hiding this comment

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

Only deploy when tagging a commit on the master branch. @nicoddemus note this gets evaluated upfront, so you no longer hold up the CI for a no operation deploy on PRs (e.g. fast fail works again).

Copy link
Member

Choose a reason for hiding this comment

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

Interesting!

About tagging commit on master: I think it would be better to tag the commit at the HEAD on the release PR. This way you guarantee that you are publishing exactly what was tested on the PR.

Copy link
Member

Choose a reason for hiding this comment

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

pytest-dev/pytest#3666 馃槈 Thanks!

@@ -64,6 +64,7 @@ before_install:
install:
- pip install -U six
- pip install --pre -U tox
- tox --notest
Copy link
Member Author

Choose a reason for hiding this comment

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

move tox env setup to the setup phase

@tox-dev tox-dev deleted a comment from codecov bot Jul 6, 2018
@codecov
Copy link

codecov bot commented Jul 6, 2018

Codecov Report

Merging #877 into master will decrease coverage by 1.45%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #877      +/-   ##
==========================================
- Coverage   92.49%   91.03%   -1.46%     
==========================================
  Files          12       12              
  Lines        2331     2331              
  Branches      408      408              
==========================================
- Hits         2156     2122      -34     
- Misses        110      142      +32     
- Partials       65       67       +2
Impacted Files Coverage 螖
src/tox/interpreters.py 69.84% <0%> (-20.64%) 猬囷笍
src/tox/venv.py 91.66% <0%> (-1.2%) 猬囷笍
src/tox/session.py 91.22% <0%> (-0.36%) 猬囷笍
src/tox/config.py 95.17% <0%> (-0.25%) 猬囷笍

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 70e1837...6c698ad. Read the comment docs.

@gaborbernat gaborbernat merged commit 6648edd into master Jul 6, 2018
@gaborbernat gaborbernat deleted the release-3.1.0a1 branch July 6, 2018 16:52
nicoddemus added a commit to nicoddemus/pytest that referenced this pull request Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants