Skip to content

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

Merged
bluetech merged 7 commits intopytest-dev:mainfrom
nicoddemus:split-workflows
May 1, 2026
Merged

Split CI workflows into 'test' and 'deploy'#367
bluetech merged 7 commits intopytest-dev:mainfrom
nicoddemus:split-workflows

Conversation

@nicoddemus
Copy link
Copy Markdown
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
tags:
- "*"

permissions: {}
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

@RonnyPfannschmidt
Copy link
Copy Markdown
Member

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

@bluetech bluetech force-pushed the split-workflows branch from e1227ad to 00ba431 Compare May 1, 2026 08:49
@bluetech
Copy link
Copy Markdown
Member

bluetech commented May 1, 2026

Rebased and also brought over some other improvements from pytest, and some zizmor fixes.

@bluetech bluetech merged commit a469596 into pytest-dev:main May 1, 2026
18 checks passed
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.

3 participants