Skip to content

Commit 770a98f

Browse files
authored
Merge branch 'main' into stable
2 parents dcf0411 + cbebe63 commit 770a98f

19 files changed

Lines changed: 211 additions & 29 deletions

.github/workflows/docs-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- stable
7-
paths-ignore:
8-
- '!docs/**'
7+
paths:
8+
- 'docs/**'
99

1010
workflow_dispatch:
1111

@@ -19,6 +19,7 @@ jobs:
1919
uses: actions/checkout@v2
2020
with:
2121
fetch-depth: 0
22+
token: ${{ secrets.BUNIT_BOT_TOKEN }}
2223

2324
- name: ⚙️ Import GPG key
2425
id: import_gpg
@@ -98,7 +99,7 @@ jobs:
9899
if: ${{ failure() }}
99100
uses: thomaseizinger/create-pull-request@1.0.0
100101
env:
101-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102+
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
102103
with:
103104
head: stable
104105
base: main

.github/workflows/prepare-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: ⏭ Create pull request for release branch
8686
uses: thomaseizinger/create-pull-request@1.0.0
8787
env:
88-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88+
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
8989
with:
9090
head: release/v${{ env.NBGV_MajorMinorVersion }}
9191
base: stable

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
if: ${{ failure() }}
121121
uses: thomaseizinger/create-pull-request@1.0.0
122122
env:
123-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123+
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }}
124124
with:
125125
head: stable
126126
base: main

.github/workflows/verification.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,13 @@ on:
77
- stable
88
paths:
99
- 'src/**'
10-
- 'tests/**'
10+
- 'tests/**'
1111

1212
pull_request:
13-
branches:
14-
- main
15-
- stable
1613
types:
1714
- opened
1815
- synchronize
1916
- reopened
20-
paths:
21-
- 'src/**'
22-
- 'tests/**'
2317

2418
workflow_dispatch:
2519

@@ -67,7 +61,10 @@ jobs:
6761
run: dotnet build -c release -p:ContinuousIntegrationBuild=true
6862

6963
- name: 🧪 Run unit tests
70-
run: dotnet test -c release --no-build --logger GitHubActions
64+
run: |
65+
dotnet test tests/bunit.core.tests -c release --no-build --logger GitHubActions
66+
dotnet test tests/bunit.web.tests -c release --no-build --logger GitHubActions
67+
dotnet test tests/bunit.web.testcomponents.tests -c release --no-build --logger GitHubActions
7168
7269
- name: 🗳️ Create library packages
7370
run: |

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+
### Added
10+
11+
- All bUnit assemblies is now strong named signed.
12+
913
### Changed
1014

1115
- Changed bunit.template such that created projects only reference the bunit package. Bumped other referenced packages to latest version.

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<!-- Used by code coverage -->
2323
<DebugType>full</DebugType>
2424
<DebugSymbols>true</DebugSymbols>
25+
<SignAssembly>true</SignAssembly>
26+
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
2527
</PropertyGroup>
2628

2729
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netcoreapp3.1'">

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
[![GitHub tag (latest SemVer pre-release)](https://img.shields.io/github/v/tag/egil/bunit?include_prereleases&logo=github&style=flat-square)](https://github.com/egil/bunit/releases)
2-
[![Nuget](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/)
3-
[![Issues Open](https://img.shields.io/github/issues/egil/bunit.svg?style=flat-square&logo=github)](https://github.com/egil/bunit/issues)
1+
[![GitHub tag](https://img.shields.io/github/v/tag/bUnit-dev/bUnit?include_prereleases&logo=github&style=flat-square)](https://github.com/egil/bunit/releases)
2+
[![NuGet](https://img.shields.io/nuget/dt/bunit?logo=nuget&style=flat-square)](https://www.nuget.org/packages/bunit/)
3+
[![Issues Open](https://img.shields.io/github/issues/bUnit-dev/bUnit.svg?style=flat-square&logo=github)](https://github.com/bUnit-dev/bUnit/issues)
44
[![Gitter](https://img.shields.io/gitter/room/egil/bunit?logo=gitter&style=flat-square)](https://gitter.im/egil/bunit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
55

66
# bUnit - a testing library for Blazor components
77

8-
<a href="https://www.telerik.com/campaigns/blazor/free-trial-1?utm_source=egilhansen&utm_medium=cpm&utm_campaign=blazor-trial-readme-sponsored-message"><img align="right" width="200" src="https://raw.githubusercontent.com/egil/bUnit/main/docs/site/sponsors/telerik-ad-github.svg" /></a>
8+
<a href="https://www.telerik.com/campaigns/blazor/free-trial-1?utm_source=egilhansen&utm_medium=cpm&utm_campaign=blazor-trial-readme-sponsored-message"><img align="right" width="200" src="https://raw.githubusercontent.com/bUnit-dev/bUnit/main/docs/site/sponsors/telerik-ad-github.svg" /></a>
99

1010
**bUnit** is a testing library for Blazor Components. Its goal is to make it easy to write _comprehensive, stable_ unit tests. With bUnit, you can:
1111

key.snk

596 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Bunit.Core.Tests")]
1+
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Bunit.Core.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010001be6b1a2ca57b09b7040e2ab0993e515296ae22aef4031a4fe388a1336fe21f69c7e8610e9935de6ed18d94b5c98429f99ef62ce3d0af28a7088f856239368ea808ad4c448aa2a8075ed581f989f36ed0d0b8b1cfcaf1ff6a4506c8a99b7024b6eb56996d08e3c9c1cf5db59bff96fcc63ccad155ef7fc63aab6a69862437b6")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Bunit.Web.TestComponents.Tests")]
1+
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("Bunit.Web.TestComponents.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010001be6b1a2ca57b09b7040e2ab0993e515296ae22aef4031a4fe388a1336fe21f69c7e8610e9935de6ed18d94b5c98429f99ef62ce3d0af28a7088f856239368ea808ad4c448aa2a8075ed581f989f36ed0d0b8b1cfcaf1ff6a4506c8a99b7024b6eb56996d08e3c9c1cf5db59bff96fcc63ccad155ef7fc63aab6a69862437b6")]

0 commit comments

Comments
 (0)