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

Run warm up test before running default tests #1599

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

lwronski
Copy link
Contributor

In the first run of the test, the output may be polluted by staff downloading, like this:

Downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/maven-metadata.xml
[4410](https://github.com/VirtusLab/scala-cli/actions/runs/3523852928/jobs/5908513925#step:4:4411)
Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala-library/maven-metadata.xml
[4411](https://github.com/VirtusLab/scala-cli/actions/runs/3523852928/jobs/5908513925#step:4:4412)
Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/maven-metadata.xml
[4412](https://github.com/VirtusLab/scala-cli/actions/runs/3523852928/jobs/5908513925#step:4:4413)
Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/maven-metadata.xml
[4413](https://github.com/VirtusLab/scala-cli/actions/runs/3523852928/jobs/5908513925#step:4:4414)
Downloading https://github.com/VirtusLab/scala-cli-scala-versions/raw/main/scala-versions-v1.json
[4414](https://github.com/VirtusLab/scala-cli/actions/runs/3523852928/jobs/5908513925#step:4:4415)
Downloaded https://github.com/VirtusLab/scala-cli-scala-versions/raw/main/scala-versions-v1.json

to clean this up, I added a warm-up test to DefaultTests.

To prevent CI fail such as this error.

@lwronski lwronski merged commit 21e1cf4 into VirtusLab:main Nov 23, 2022
@Gedochao Gedochao added the internal Internal or build-related changes label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal or build-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants