Skip to content

Commit a2fecf0

Browse files
authored
Merge pull request #1491 from bUnit-dev/release/v1.29
Release of new minor version v1.29
2 parents 095add3 + 7bbe533 commit a2fecf0

27 files changed

+113
-38
lines changed

.devcontainer/devcontainer.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
3+
{
4+
"name": "Full",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/dotnet/sdk:9.0-preview",
7+
"features": {
8+
"ghcr.io/devcontainers/features/dotnet:2": {
9+
"version": "latest",
10+
"additionalVersions": "6.0,5.0,3.1"
11+
}
12+
},
13+
14+
// Features to add to the dev container. More info: https://containers.dev/features.
15+
// "features": {},
16+
17+
// Configure tool-specific properties.
18+
"customizations": {
19+
"vscode": {
20+
"extensions": [
21+
"ms-dotnettools.csdevkit",
22+
"yzhang.markdown-all-in-one",
23+
"vscode-icons-team.vscode-icons",
24+
"me-dutour-mathieu.vscode-github-actions"
25+
]
26+
}
27+
},
28+
29+
"postCreateCommand": "bash .devcontainer/post-install.sh"
30+
31+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
32+
// "remoteUser": "root"
33+
}

.devcontainer/post-install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#/bin/bash
2+
3+
# Install docfx (should be aligned with docs-deploy.yml)
4+
dotnet tool install --global docfx --version 2.74.1
5+
6+
# Trust dotnet developer certs
7+
dotnet dev-certs https --check --trust

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
strategy:
117117
fail-fast: false
118118
matrix:
119-
os: [ubuntu-latest, macos-latest, windows-latest]
119+
os: [ubuntu-latest, macos-13, windows-latest]
120120
runs-on: ${{ matrix.os }}
121121

122122
steps:
@@ -137,7 +137,7 @@ jobs:
137137
9.0.x
138138
139139
- name: 🧪 Run unit tests
140-
run: dotnet test -c release --blame --blame-crash --blame-hang
140+
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false
141141

142142
- name: 📛 Upload hang- and crash-dumps on test failure
143143
if: failure()
@@ -231,7 +231,7 @@ jobs:
231231
run: dotnet build -c release
232232

233233
- name: 🧪 Run sample unit tests
234-
run: dotnet test docs/samples/samples.sln
234+
run: dotnet test docs/samples/samples.sln -p:VSTestUseMSBuildOutput=false -f net8.0
235235

236236
- name: 📄 Build docs
237237
working-directory: ./docs/site

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
123123
- name: ⏭ Create pull request from stable to main when direct merge fails
124124
if: steps.mergeMainline.outcome == 'failure'
125-
uses: thomaseizinger/create-pull-request@1.3.1
125+
uses: thomaseizinger/create-pull-request@1.4.0
126126
env:
127127
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
128128
with:

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: git push origin release/v$NBGV_MajorMinorVersion
8585

8686
- name: ⏭ Create pull request for release branch
87-
uses: thomaseizinger/create-pull-request@1.3.1
87+
uses: thomaseizinger/create-pull-request@1.4.0
8888
env:
8989
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
9090
with:

.github/workflows/rebase-v2-on-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: ⏭ Create pull request
4949
if: steps.rebaseV2.outcome == 'failure'
50-
uses: thomaseizinger/create-pull-request@1.3.1
50+
uses: thomaseizinger/create-pull-request@1.4.0
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
5353
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
133133
- name: ⏭ Create pull request from stable to main when direct merge fails
134134
if: steps.mergeMainline.outcome == 'failure'
135-
uses: thomaseizinger/create-pull-request@1.3.1
135+
uses: thomaseizinger/create-pull-request@1.4.0
136136
env:
137137
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
138138
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ bld/
2626

2727
# Visual Studio 2015/2017 cache/options directory
2828
.vs/
29-
.vscode/
3029
# Uncomment if you have tasks that create the project's static files in wwwroot
3130
#wwwroot/
3231

.vscode/tasks.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "Serve Docs (Without Build)",
8+
"type": "shell",
9+
"command": "docfx metadata docs/site/docfx.json && docfx docs/site/docfx.json --serve"
10+
},
11+
{
12+
"label": "Serve Docs (With Build for API Documentation)",
13+
"type": "shell",
14+
"command": "dotnet build -c Release && docfx metadata docs/site/docfx.json && docfx docs/site/docfx.json --serve"
15+
},
16+
{
17+
"label": "Run all tests (Release Mode)",
18+
"type": "shell",
19+
"command": "dotnet test -c Release"
20+
}
21+
]
22+
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ All notable changes to **bUnit** will be documented in this file. The project ad
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- CI build changes to force running verification on x64 based AMD CPUs.
12+
913
## [1.28.9] - 2024-04-19
1014

1115
### Fixed

0 commit comments

Comments
 (0)