-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # appveyor.build.yml # appveyor.yml # azure-pipelines.yml # build/Build-Release.ps1 # build/build.xml # src/Examine.AzureDirectory/Properties/AssemblyInfo.cs # src/Examine.AzureDirectory/app.config # src/Examine.Lucene/Examine.Lucene.csproj # src/Examine.Lucene/Logging/ILoggingService.cs # src/Examine.Lucene/Logging/LogEntry.cs # src/Examine.Lucene/Logging/LogLevel.cs # src/Examine.Lucene/Logging/TraceLoggingService.cs # src/Examine.Lucene/LuceneEngine/LuceneSearchResults.cs # src/Examine.Lucene/LuceneEngine/LuceneSearchResultsBase.cs # src/Examine.Lucene/LuceneEngine/Providers/ErrorLoggingConcurrentMergeScheduler.cs # src/Examine.Lucene/LuceneEngine/Providers/LuceneIndex.cs # src/Examine.Lucene/LuceneEngine/Search/LuceneSearchQuery.cs # src/Examine.Lucene/Properties/AssemblyInfo.cs # src/Examine.Lucene/Search/IFieldSelectableOrdering.cs # src/Examine.Lucene/Search/QueryExtensions.cs # src/Examine.Lucene/Search/SearchResultExtensions.cs # src/Examine.Lucene/SearchResultsBase.cs # src/Examine.Lucene/packages.config # src/Examine.Test/App.config # src/Examine.Test/Examine.Test.csproj # src/Examine.Web.Demo/Web.config # src/SolutionInfo.cs
- Loading branch information
Showing
75 changed files
with
2,864 additions
and
1,038 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Examine Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
env: | ||
Solution_File: src\Examine.sln | ||
Test_Folder: src\Examine.Test | ||
Configuration: Release | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Create copyright value | ||
run: | | ||
$Copyright = "Copyright " + [char]0x00A9 + " Shannon Deminick " + (Get-Date).year | ||
echo ("Copyright=" + $Copyright) >> $Env:GITHUB_ENV | ||
shell: pwsh | ||
|
||
- name: Add MSBuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: nuget/setup-nuget@v1 | ||
with: | ||
nuget-version: 'latest' | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '5.x' | ||
|
||
- name: Determine Version | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Nuget Restore | ||
run: nuget restore $env:Solution_File | ||
|
||
- name: MSBuild Clean | ||
run: msbuild $env:Solution_File /p:Configuration=Release /t:Clean | ||
|
||
- name: MSBuild Build | ||
run: msbuild $env:Solution_File /p:Configuration=$env:Configuration | ||
|
||
- name: Test | ||
run: dotnet test "${{ env.Test_Folder }}\bin\${{ env.Configuration }}\Examine.Test.dll" --no-build --verbosity normal --results-directory ${{ github.workspace }}\_TestResults --logger "trx;logfilename=tests.trx" | ||
|
||
- uses: actions/upload-artifact@v2 # upload test results | ||
if: success() || failure() # run this step even if previous step failed | ||
with: | ||
name: test-results | ||
path: ${{ github.workspace }}\_TestResults\tests.trx |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 'Test Report' | ||
on: | ||
workflow_run: | ||
workflows: ['Examine Build'] # runs after CI workflow | ||
types: | ||
- completed | ||
jobs: | ||
report: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dorny/test-reporter@v1 | ||
with: | ||
artifact: test-results # artifact name | ||
name: Publish Tests # Name of the check run which will be created | ||
path: '*.trx' # Path to test results (inside artifact .zip) | ||
reporter: dotnet-trx # Format of test results |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
next-version: 1.0 | ||
assembly-versioning-scheme: MajorMinorPatch | ||
assembly-file-versioning-scheme: MajorMinorPatchTag | ||
assembly-informational-format: '{InformationalVersion}' | ||
mode: ContinuousDelivery | ||
increment: Inherit | ||
continuous-delivery-fallback-tag: ci | ||
tag-prefix: '[vV]' | ||
major-version-bump-message: '\+semver:\s?(breaking|major)' | ||
minor-version-bump-message: '\+semver:\s?(feature|minor)' | ||
patch-version-bump-message: '\+semver:\s?(fix|patch)' | ||
no-bump-message: '\+semver:\s?(none|skip)' | ||
legacy-semver-padding: 4 | ||
build-metadata-padding: 4 | ||
commits-since-version-source-padding: 4 | ||
commit-message-incrementing: Enabled | ||
commit-date-format: 'yyyy-MM-dd' | ||
ignore: | ||
sha: [] | ||
commits-before: 2020-12-21T00:00:00 | ||
merge-message-formats: {} | ||
branches: | ||
main: | ||
regex: ^master(\-0\.x)?$|^main(\-0\.x)?$ | ||
source-branches: [] | ||
develop: | ||
regex: ^dev(elop)?(ment)?(\-0\.x)?$ | ||
source-branches: | ||
- main | ||
|
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
layout: default | ||
--- | ||
|
||
Examine | ||
Examine Documentation | ||
=== | ||
|
||
## What is Examine? | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
using System; | ||
using System.Reflection; | ||
|
||
[assembly: AssemblyCopyright("Copyright © Shannon Deminick 2021")] |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<#@ template language="C#" #> | ||
using System; | ||
using System.Reflection; | ||
|
||
[assembly: AssemblyCopyright("Copyright <#= "\u00a9" #> Shannon Deminick <#=DateTime.Now.Year#>")] |
Oops, something went wrong.