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

[DPE-2176] Improve checks on release workflow #24

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

deusebio
Copy link
Contributor

No description provided.

@deusebio deusebio requested a review from grobbie June 27, 2023 12:23
@deusebio deusebio merged commit e590f0b into canonical:main Jun 27, 2023
4 checks passed
@deusebio deusebio deleted the wip-improve-release-workflow branch June 27, 2023 13:44
Copy link

@grobbie grobbie left a comment

Choose a reason for hiding this comment

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

three small commments that you might like to address, but looks fine

autorelease:
name: Release the package on github
needs: release-checks
needs: [release_checks, tests]
runs-on: ubuntu-latest
Copy link

Choose a reason for hiding this comment

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

maybe take a pinned major version, I'm not sure what ubuntu-latest might be. Does it mean interim releases or LTS?

outputs:
version: ${{ needs.release_checks.outputs.package_version }}
wheel: ${{ steps.artifact_names.outputs.wheel }}
tarball: ${{ steps.artifact_names.outputs.tarball }}

test:
name: Test Release
runs-on: ubuntu-latest
Copy link

Choose a reason for hiding this comment

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

as above, take the specific ubuntu 22.04 LTS version

@@ -73,7 +73,7 @@ requirements.txt: poetry.lock pyproject.toml
format: setup $(files)
${PYTHON} tox -e fmt

unittest: setup $(files)
unittests: setup $(files)
Copy link

Choose a reason for hiding this comment

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

I personally preferred it as unittest but might've added a hyphen as unit-test

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