-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #472 from bUnit-dev/release/v1.2
Release of new minor version v1.2
- Loading branch information
Showing
101 changed files
with
1,870 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,8 @@ jobs: | |
- name: ⚙️ Setup dotnet 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.100-preview.3.21202.5' | ||
dotnet-version: 6.0.x | ||
include-prerelease: true | ||
|
||
- name: 🛠️ Building bUnit | ||
run: dotnet build /p:PublicRelease=true | ||
|
@@ -102,13 +103,15 @@ jobs: | |
GH_PAT: ${{ secrets.BUNIT_BOT_TOKEN }} | ||
|
||
- name: ⏩ Merge stable with main, push origin | ||
id: mergeMainline | ||
continue-on-error: true | ||
run: | | ||
git checkout main | ||
git merge -S stable | ||
git push origin main | ||
- name: ⏭ Create pull request from stable to main when direct merge fails | ||
if: ${{ failure() }} | ||
if: steps.mergeMainline.outcome == 'failure' | ||
uses: thomaseizinger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,8 @@ jobs: | |
- name: ⚙️ Setup dotnet 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.100-preview.3.21202.5' | ||
dotnet-version: 6.0.x | ||
include-prerelease: true | ||
|
||
- name: 🛠️ Update changelog | ||
uses: thomaseizinger/[email protected] | ||
|
@@ -110,7 +111,7 @@ jobs: | |
with: | ||
tag_name: v${{ env.NBGV_SemVer2 }} | ||
target_commitish: ${{ env.RELEASE_COMMIT_HASH }} | ||
name: Release ${{ env.NBGV_SemVer2 }} | ||
name: ${{ env.NBGV_SemVer2 }} | ||
body: ${{ steps.changelog_reader.outputs.changes }} | ||
draft: false | ||
prerelease: ${{ env.NBGV_PublicRelease == 'False' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu-latest, windows-latest] # macos-latest removed due to env error | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
|
@@ -44,7 +44,8 @@ jobs: | |
- name: ⚙️ Setup dotnet 6.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.100-preview.3.21202.5' | ||
dotnet-version: 6.0.x | ||
include-prerelease: true | ||
|
||
- name: ⚙️ Setup GIT versioning | ||
uses: dotnet/[email protected] | ||
|
@@ -61,19 +62,16 @@ jobs: | |
run: dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org --configfile $env:APPDATA\NuGet\NuGet.Config | ||
continue-on-error: true | ||
|
||
- name: 🛠️ Build library in release mode | ||
run: dotnet build -c release -p:ContinuousIntegrationBuild=true | ||
|
||
- name: 🧪 Run unit tests | ||
run: | | ||
dotnet test ./tests/bunit.core.tests/bunit.core.tests.csproj -c release --logger GitHubActions | ||
dotnet test ./tests/bunit.web.tests/bunit.web.tests.csproj -c release --logger GitHubActions | ||
dotnet test ./tests/bunit.web.testcomponents.tests/bunit.web.testcomponents.tests.csproj -c release --logger GitHubActions | ||
- name: 🗳️ Create library packages | ||
- name: 🗳️ Pack library | ||
run: | | ||
dotnet pack src/bunit/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true | ||
dotnet pack -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true | ||
dotnet pack src/bunit/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true | ||
dotnet pack src/bunit.template/ -c release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true | ||
# Excluding windows because the restore step doesnt seem to work correct. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,2 @@ | ||
# Contributor Covenant Code of Conduct | ||
|
||
## Our Pledge | ||
|
||
In the interest of fostering an open and welcoming environment, we as | ||
contributors and maintainers pledge to make our project and | ||
community a harassment-free experience for everyone, regardless of age, | ||
size, disability, ethnicity, sexuality, gender identity and expression, | ||
level of experience, education, socio-economic status, nationality, personal | ||
appearance, race, or religion. | ||
|
||
## Our Standards | ||
|
||
Examples of behavior that contribute towards creating a positive environment | ||
include: | ||
|
||
* Using welcoming and inclusive language | ||
* Being respectful of differing viewpoints and experiences | ||
* Gracefully accepting constructive criticism | ||
* Focusing on what is best for the community | ||
* Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by participants include: | ||
|
||
* The use of sexualized language or imagery and unwelcome sexual attention or | ||
advances | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or electronic | ||
address, without explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a | ||
professional setting | ||
|
||
## Our Responsibilities | ||
|
||
Project maintainers are responsible for clarifying the standards of acceptable | ||
behavior and are expected to take appropriate and fair corrective action in | ||
response to any instances of unacceptable behavior. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, or | ||
reject comments, commits, code, wiki edits, issues, and other contributions | ||
that are not aligned to this Code of Conduct, or to temporarily or | ||
permanently ban any contributor for other behaviors that they deem inappropriate, | ||
threatening, offensive, or harmful. | ||
|
||
## Scope | ||
|
||
This Code of Conduct applies within all project spaces, and it also applies when | ||
an individual is representing the project or its community in public spaces. | ||
Examples of representing a project or community include using an official | ||
project e-mail address, posting via an official social media account, or acting | ||
as an appointed representative at an online or offline event. Representation of | ||
a project may be further defined and clarified by project maintainers. | ||
|
||
## Enforcement | ||
|
||
Instances of abuse, harassment, or otherwise unacceptable behavior may be | ||
reported by contacting the project leader at [[email protected]](mailto:[email protected]). All | ||
complaints will be reviewed and investigated and will result in a response that | ||
is deemed necessary and appropriate to the circumstances. The project team is | ||
obligated to maintain confidentiality with regard to the reporter of an incident. | ||
Further details of specific enforcement policies may be posted separately. | ||
|
||
Project maintainers who do not follow or enforce the Code of Conduct in good | ||
faith may face temporary or permanent repercussions as determined by other | ||
members of the project's leadership. | ||
|
||
## Attribution | ||
|
||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, | ||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
|
||
For answers to common questions about this code of conduct, see | ||
https://www.contributor-covenant.org/faq | ||
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. | ||
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct). |
Oops, something went wrong.