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

Split CI workflows into 'test' and 'deploy' #367

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicoddemus
Copy link
Member

This makes them easier to maintain and follows how other pytest repositories have evolved.

Also made some changes to the deploy workflow:

  • Using Python 3.10
  • Using build package instead of calling python setup.py

@nicoddemus nicoddemus changed the title Split CI workflows in test and deploy Split CI workflows into 'test' and 'deploy' Nov 15, 2022
This makes them easier to maintain and follows how other pytest repositories have evolved.

Also made some changes to the deploy workflow:

* Using Python 3.10
* Using `build` package instead of calling `python setup.py`
tags:
- "*"

permissions: {}
Copy link
Member Author

Choose a reason for hiding this comment

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

Copied from pytest

@RonnyPfannschmidt
Copy link
Member

im a bit unhappy with the splitting, i'd prefer if we started to install from the build artifacts for testing (like i have done for some of my projects)

@nicoddemus
Copy link
Member Author

im a bit unhappy with the splitting, i'd prefer if we started to install from the build artifacts for testing (like i have done for some of my projects)

What do you mean? IIUC, you mean to test the package instead of source, but isn't that what tox does for us?

Or do you mean to generate a single artifact, test over it, and then deploy that same artifact?

@nicoddemus
Copy link
Member Author

nicoddemus commented Nov 15, 2022

Happy to try out something like that, can you point to a project to use as reference?

@RonnyPfannschmidt
Copy link
Member

@nicoddemus i'd love to extract this into something reusable, but currently im a bit tied up with other priorities

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