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

chore: add build & test-dist nox sessions #336

Merged
merged 1 commit into from
Sep 25, 2021

Conversation

mayeut
Copy link
Member

@mayeut mayeut commented Sep 18, 2021

The build session does what you'd expect: it builds SDist & wheel using pypa/build.
The test-dist session builds SDist & wheel then runs unit tests on those with all
supported python versions.

Also modifies the GHA workflow to fail early if pre-commit checks or test-dist (3.9 only) fail.

@mayeut mayeut marked this pull request as draft September 18, 2021 16:59
@codecov
Copy link

codecov bot commented Sep 18, 2021

Codecov Report

Merging #336 (a6ea818) into master (e0ad1b9) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   89.54%   89.54%           
=======================================
  Files          23       23           
  Lines        1244     1244           
  Branches      270      270           
=======================================
  Hits         1114     1114           
  Misses         79       79           
  Partials       51       51           

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 e0ad1b9...a6ea818. Read the comment docs.

The `build` session does what you'd expect: it builds SDist & wheel using pypa/build.
The `test-dist` session builds SDist & wheel then runs unit tests on those with all
supported python versions.

Also modifies the GHA workflow to fail early if pre-commit checks or test-dist (3.9 only) fail.
@mayeut mayeut merged commit 2b4e825 into pypa:master Sep 25, 2021
@mayeut mayeut deleted the nox-test-release branch September 25, 2021 08:13
@mayeut mayeut mentioned this pull request Jan 3, 2022
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.

2 participants