Skip to content

Add missing codegen mod in integration tests#1418

Merged
tadeohepperle merged 7 commits intomasterfrom
tadeohepperle/add-codegen-tests-to-mod-tree
Feb 14, 2024
Merged

Add missing codegen mod in integration tests#1418
tadeohepperle merged 7 commits intomasterfrom
tadeohepperle/add-codegen-tests-to-mod-tree

Conversation

@tadeohepperle
Copy link
Copy Markdown
Contributor

@tadeohepperle tadeohepperle commented Feb 9, 2024

The module testing/integration-tests/full_client/codegen was not included in the module tree before, so the CI never checked it.

Don't review yet, there are some old codgen tests, that need fixing since things changed with scale-typegen

@tadeohepperle tadeohepperle requested a review from a team as a code owner February 9, 2024 09:26
@jsdw
Copy link
Copy Markdown
Collaborator

jsdw commented Feb 9, 2024

Don't review yet, there are some old codgen tests, that need fixing since things changed with scale-typegen

Make it a draft PR? :)

#[cfg(test)]
mod client;
#[cfg(test)]
mod codegen;
Copy link
Copy Markdown
Contributor

@niklasad1 niklasad1 Feb 9, 2024

Choose a reason for hiding this comment

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

we can probably use in #![cfg(test)] globally here instead repeating test for each module :)

@tadeohepperle tadeohepperle marked this pull request as draft February 13, 2024 07:59
@tadeohepperle tadeohepperle marked this pull request as ready for review February 13, 2024 15:25
// see LICENSE for license details.

#[cfg(test)]
#![cfg(test)]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could we remove this? Since we have a cfg(test) mod full_client in src/lib.rs?

@tadeohepperle tadeohepperle merged commit e39791a into master Feb 14, 2024
@tadeohepperle tadeohepperle deleted the tadeohepperle/add-codegen-tests-to-mod-tree branch February 14, 2024 16:17
tadeohepperle added a commit that referenced this pull request Feb 15, 2024
* add codgen mod to the module tree

* port codegen tests to scale-typegen

* remove test flag
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.

4 participants