Skip to content

Independent test runs #272

Closed
Closed

Description

@tomasMizera

Let's adjust the test runs to make them independent between runs. They currently share the same two test accounts, workspace and projects. This might be problematic when you want to run tests from multiple branches/jobs/matrix at once.

We should create a new user (and a new workspace) with each test run.
The logic can work in a way that if you do not pass the current environment variables, we register new user and use it for testing.
If you pass in the environment variables, we would use those (so it does not create a new user when running tests locally)

Please note that we need to set a correct plan type for the newly created workspace (API endpoint PATCH v1/tests/workspaces/{id})

Activity

  1. MarcelGeo commented on Sep 11, 2025

    @MarcelGeo
    Contributor

    We could then run tests aginst multiple py versions

  2. MarcelGeo commented on Sep 24, 2025

    @MarcelGeo
    Contributor

    use

    • PATCH v1/tests/worksapces/{id} to update ws plans
    • create new ws with random name test_pyclient_
    • cleanup on the end
  3. added this to the 0.12.3 milestone on Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions