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

Only compile integration tests once #971

Merged

Conversation

alexarchambault
Copy link
Contributor

@alexarchambault alexarchambault commented May 4, 2022

And use a different command than 'test' to run the native flavors of the
ITs, like

$ ./mill -i integration.test.native
$ ./mill -i integration.test.nativeStatic
$ ./mill -i integration.test.nativeMostlyStatic

The JVM ITs can be run in a few equivalent ways:

$ ./mill -i integration.test
$ ./mill -i integration.test.test
$ ./mill -i integration.test.jvm

Note that ./mill __.test will only run JVM ITs, not native ones.

@alexarchambault alexarchambault changed the title Factor test projects Factor integration test projects May 4, 2022
@alexarchambault alexarchambault marked this pull request as ready for review May 4, 2022 15:54
And use a different command than 'test' to run the native flavors of the
ITs, like
```text
$ ./mill -i integration.test.native
$ ./mill -i integration.test.nativeStatic
$ ./mill -i integration.test.nativeMostlyStatic
```

The JVM ITs can be run in a few equivalent ways:
```text
$ ./mill -i integration.test
$ ./mill -i integration.test.test
$ ./mill -i integration.test.jvm
```

Note that `./mill __.test` will only run JVM ITs, not native ones.
@alexarchambault alexarchambault changed the title Factor integration test projects Only compile integration tests once May 4, 2022
@alexarchambault alexarchambault merged commit 8bd3edd into VirtusLab:main May 4, 2022
@alexarchambault alexarchambault deleted the factor-test-projects branch May 4, 2022 18:26
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.

2 participants