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

Use tox environment for the TICS workflow #129

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Use tox environment for the TICS workflow #129

merged 3 commits into from
Dec 6, 2024

Conversation

Deezzir
Copy link
Contributor

@Deezzir Deezzir commented Dec 5, 2024

@Deezzir Deezzir requested a review from a team as a code owner December 5, 2024 00:48
@Deezzir Deezzir changed the title Modify TICS workflow to use tox env Sse tox environment for the TICS workflow Dec 5, 2024
@Deezzir Deezzir changed the title Sse tox environment for the TICS workflow Use tox environment for the TICS workflow Dec 5, 2024
Copy link
Contributor

@jneo8 jneo8 left a comment

Choose a reason for hiding this comment

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

Need information

Copy link
Contributor

@samuelallan72 samuelallan72 left a comment

Choose a reason for hiding this comment

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

I'm uneasy about this. Why would the tics target require all the same dependencies as the functional tests as well? It feels like merging requirements of the tics tox target, and the tics github action will cause confusion, because it's not a clear separation of concerns for the dependencies.

Can we treat the tics action dependencies separate to the tox target dependencies? Maybe even by creating our own virtualenvironment for the tics action to use.

If we do go down the route of sharing the tox environment, please clearly document with code comments the purpose of the extra dependencies, and note that the tox environment is manually used for the tics github action?

@Deezzir
Copy link
Contributor Author

Deezzir commented Dec 5, 2024

https://warthogs.atlassian.net/browse/TICSISSUES-3 Please see the issue, unfortunately, it's the way to go. The TICS analysis requires test dependencies to be present to analyze the code and code paths. Additionally, i think it also analyzes deps for the known issues.

@samuelallan72

@samuelallan72
Copy link
Contributor

@Deezzir ah sorry, thanks for the information.

In that case, it sounds like sharing the tox environment is the way to go. 👍 👍

Copy link
Contributor

@samuelallan72 samuelallan72 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for adding comments for context. 👍

@Deezzir Deezzir merged commit f7933be into main Dec 6, 2024
49 checks passed
@Deezzir Deezzir deleted the tics-target-deps branch December 6, 2024 01:16
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