Before you can start developing in this workspace, please ensure you have the following tools installed either globally or at a workspace level.
Some of the test cases verify connecting to a SaaS database instance and execution will take about 20 minutes.
These test cases are only executed by the following GitHub workflows
ci-main.ymlci-slow.yml
Both of these workflows can be run manually, workflow ci-main.yml is executed automatically at the 7th day of each month.
For merging a pull request to branch main workflow ci-slow.yml needs to be run and terminate successfully.
pytest-plugins is a multi-project repository. Each of the plugins can be released independently.
Releasing a single plugin includes
- Publishing to pypi
- Creating a release on GitHub
This requires a dedicated Git-tag for each release of each plugin. The convention is to use the name of the plugin as a prefix followed by a dash character and the version of the plugin, e.g. pytest-backend-0.1.0.
To create a release for one of the plugins
- Open the GitHub repository in your browser
- On top, select the tab "Actions"
- On the left side, select action "Continuous Delivery (Release)"
- On the right side, click button "Run workflow"
- Select branch "main"
- Select the project, e.g. "pytest-backend"
- Enter the version number, e.g.
0.2.0 - Click the button "Run workflow"
The workflow will then
- Check out the project
- Build the selected plugin
- Publish it to pypi
- Create a Git-tag and a GitHub release using the naming convention described above