Skip to content

Add a feature to enable/disable external crates in uitests #8206

Open
@xFrednet

Description

@xFrednet

Description

In #8179 two new dependencies for our UI-tests have been added, futures and tokio. This increases the pipeline runtime by about 3 minutes. The additional time is mostly spent on compiling, from what I can tell. For local tests, I would like to have external crates like these disabled by default and only enable them if I actually develop on related lints and in the pipeline.

This is how I imagine it:

cargo uitest

This runs all tests which only require Clippy. uitests with external crates are ignored on this case

cargo uitest --features=external-dependencies

Runs all uitest, including those that need external dependencies. This would be the default option in the pipeline

Version

No response

Additional Labels

cc: @flip1995 you're our CI wizard 🧙. Maybe you have some thoughts on the matter 🙃

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infraArea: CI issues and issues that require full access for GitHub/CIC-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.E-mediumCall for participation: Medium difficulty level problem and requires some initial experience.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions