Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ jobs:
- "8.0"
- "9.0"
- "10.0"
# Preview .NET versions are available via the @dotnet-sig/dotnet-preview copr repo.
# Each year, add include entries for the new preview version (fedora:latest + rawhide)
# with use_preview_copr: true. When a version ships officially, move dotnet_version
# into the main list above and remove its include entries (and this block if empty).
include:
- container_image: registry.fedoraproject.org/fedora:44
dotnet_version: "11.0"
use_preview_copr: true
- container_image: registry.fedoraproject.org/fedora:rawhide
dotnet_version: "11.0"
use_preview_copr: true

container:
image: ${{ matrix.container_image }}
Expand All @@ -49,7 +60,7 @@ jobs:
set -euo pipefail
cat /etc/os-release
if grep fedora /etc/os-release; then
if [[ ${{ matrix.dotnet_version }} == 11.* ]]; then
if [[ "${{ matrix.use_preview_copr }}" == "true" ]]; then
dnf install 'dnf-command(copr)' -y
if grep centos /etc/os-release; then
dnf copr enable @dotnet-sig/dotnet-preview centos-stream-10-x86_64 -y
Expand Down Expand Up @@ -85,9 +96,9 @@ jobs:
timeout-minutes: 5
run: |
if grep fedora /etc/os-release ; then
dnf install -y python3 wget $(grep '^Dependencies(dnf): ' README.md | cut -d: -f2-) --skip-broken
dnf install -y $(grep '^Dependencies(dnf): ' README.md | cut -d: -f2-) --skip-broken
elif grep alpine /etc/os-release; then
apk add python3 wget curl $(grep '^Dependencies(apk): ' README.md | cut -d: -f2-)
apk add $(grep '^Dependencies(apk): ' README.md | cut -d: -f2-)
echo -e '[PostgreSQL]\nDescription=PostgreSQL Unicode\nDriver=/usr/lib/psqlodbcw.so\nUsageCount=1' > /etc/odbcinst.ini
fi

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ $ git clone https://github.com/redhat-developer/dotnet-bunny && cd dotnet-bunny

### Dependencies

Dependencies(apk): babeltrace bash bash-completion binutils coreutils file findutils g++ jq libstdc++-dev lldb lttng-ust lttng-tools npm postgresql psqlodbc sed strace unixodbc zlib-dev
Dependencies(dnf): awk babeltrace bash-completion bc findutils gcc-c++ jq libstdc++-devel lttng-ust lttng-tools npm postgresql-odbc postgresql-server strace unixODBC /usr/bin/file /usr/bin/free /usr/bin/lldb /usr/bin/readelf /usr/bin/su which zlib-devel
Dependencies(apk): babeltrace bash bash-completion binutils coreutils curl file findutils g++ jq libstdc++-dev lldb lttng-ust lttng-tools npm postgresql psqlodbc python3 sed strace unixodbc wget zlib-dev
Dependencies(dnf): awk babeltrace bash-completion bc curl findutils gcc-c++ jq libstdc++-devel lttng-ust lttng-tools npm postgresql-odbc postgresql-server python3 strace unixODBC /usr/bin/file /usr/bin/free /usr/bin/lldb /usr/bin/readelf /usr/bin/su which wget zlib-devel
3 changes: 2 additions & 1 deletion debugging-via-dotnet-dump/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"linux-arm" // dotnet-dump relies on features not implemented on arm
],
"skipWhen": [
"runtime=mono" // dotnet-dump relies on coreclr features
"runtime=mono", // dotnet-dump relies on coreclr features
"version=11" // https://github.com/redhat-developer/dotnet-regular-tests/issues/416
]
}

1 change: 1 addition & 0 deletions dotnet-monitor-works/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"type": "bash",
"cleanup": false,
"skipWhen": [
"version=11", // https://github.com/redhat-developer/dotnet-regular-tests/issues/416
]
}
3 changes: 2 additions & 1 deletion targeting-packs-bad-files/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"skipWhen": [
"version=8", // see https://github.com/redhat-developer/dotnet-regular-tests/issues/251
"version=9", // see https://github.com/redhat-developer/dotnet-regular-tests/issues/251
"version=10" // see https://github.com/redhat-developer/dotnet-regular-tests/issues/251
"version=10", // see https://github.com/redhat-developer/dotnet-regular-tests/issues/251
"version=11" // see https://github.com/redhat-developer/dotnet-regular-tests/issues/251
],
"ignoredRIDs":[

Expand Down
61 changes: 61 additions & 0 deletions template-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,56 @@ major_version="${VERSION_SPLIT[0]}"
# If additional templates are found via `dotnet new --list`, this test
# will fail unless they are added here.

dotnet11Templates=(
apicontroller
blazor
blazorwasm
blazorwebworker
buildprops
buildtargets
classlib
console
editorconfig
.editorconfig
gitattributes
.gitattributes
gitignore
.gitignore
global.json
globaljson
grpc
mcpserver
mstest-class
mstest
mvc
mvccontroller
nuget.config
nugetconfig
nunit
nunit-test
packagesprops
page
proto
razor
razorclasslib
razorcomponent
sln
slnf
solution
solutionfilter
tool-manifest
view
viewimports
viewstart
web
webapi
webapiaot
webapp
webconfig
worker
xunit
)

dotnet10Templates=(
apicontroller
blazor
Expand Down Expand Up @@ -271,6 +321,8 @@ blazorserver build
blazorserver-empty build
blazorwasm build
blazorwasm-empty build
blazorwebworker build
blazor-wasm-servicedefaults build
buildprops new
buildtargets new
classlib build
Expand All @@ -281,6 +333,7 @@ gitignore new
.gitignore new
globaljson new
global.json new
mcpserver build
mstest test
mstest-class project,new
mvc build
Expand All @@ -292,6 +345,8 @@ razorclasslib build
react build
reactredux build
sln new
slnf new
solutionfilter new
view new
web build
webapi build
Expand All @@ -303,14 +358,20 @@ template9Actions=\
"nunit-test project,new"
template10Actions=\
"nunit-test project,new"
template11Actions=\
"nunit-test project,new"

# Templates that can be ignored. They may be present in the dotnet new
# --list output but are safe to ignore. We we don't want to test these
# because they are known to not work on the platforms we care about.
templateIgnoreList=(
# FIXME: enable when Microsoft.Extensions.ServiceDiscovery >= 10.6.0-preview.1.26210.2 is available
blazor-wasm-servicedefaults

# playwright needs powershell and needs to be interactively used to install browser integration pieces
mstest-playwright
nunit-playwright

winforms
winformscontrollib
winformslib
Expand Down
2 changes: 1 addition & 1 deletion version-apis/VersionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace DotNetCoreVersionApis
{
public class VersionTest
{
public static readonly int MAX_DOTNET_MAJOR_VERSION = 10;
public static readonly int MAX_DOTNET_MAJOR_VERSION = 11;

private readonly ITestOutputHelper _output;

Expand Down
Loading