-
Notifications
You must be signed in to change notification settings - Fork 698
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 tests under .NET 8 #2466
Run tests under .NET 8 #2466
Conversation
Qodana for .NETIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2.8
with:
upload-result: true Contact Qodana teamContact us at qodana-support@jetbrains.com
|
5bda626
to
672c1af
Compare
672c1af
to
af87301
Compare
Pull Request Test Coverage Report for Build 6920937500Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update the documentation (index.html, releases.md, etc) to mention that we're compatible with .NET 8.0
docs/index.html
Outdated
@@ -29,7 +29,7 @@ | |||
[<i class="fa fa-coffee"></i> Buy us a coffee](https://ko-fi.com/dennisdoomen){: .btn .btn--paypal} | |||
<br/> | |||
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or | |||
BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET 6, .NET Standard 2.0 and 2.1.' | |||
BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET 6, .NET 8, .NET Standard 2.0 and 2.1.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be just a note that we are ".NET 8 ready", since we don't target .NET 8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, something like that. Or we should rephrase all of the references to the frameworks. Like "Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think there are a couple of other places where we mention the version, including the NuGet description and such.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You were right. I found three more places 😄
…k 4.7 and higher and .NET 6 and higher.`
This is something of a challenge as well. All the issues reported might be existing ones that now get redetected through .NET 8 target. We may have to update the baseline or bump the limit. |
… 2.0 and 2.1.` with `Works with .NET Standard 2.0 and higher, .NET Framework 4.7 and higher and .NET 6 and higher.`
How would I do this?
|
I had a look at the mentioned issues in the Files changed-Tab and most of them seem to be incorrect🤷:
|
According to https://youtrack.jetbrains.com/issue/QD-7660/Qodana-busted-in-.NET-8-RTM support for .NET 8 is not available yet, but will be with v233. |
@vbreuss Can you check what happens if you change |
Cool.. seems work 😉 |
Yes, it works. Will now undo the test... |
…,--ide,QDNET-EAP`
@vbreuss FYI You could just have dropped the commit 😉 |
wow.. the qodana scan after this PR on develop 🙈 |
@vbreuss can you please put back that -EAP argument? |
Discussion in #2465
Enable tests to run under .NET 8.
IMPORTANT
./build.sh --target spellcheck
or.\build.ps1 --target spellcheck
before pushing and check the good outcome