-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* work on tests on CI * test first * skip long running unit test, ensure we run net7.0 only on linux * pass filepath to LogFilePath * update test-reporter * install azure tools needed for tests * Junit reporter needs full paths * rollback spec change for messaging and ignore one test * Skip Azure Functions feature tests on github actions * Also ignore App Service feature tests for now * new test workflow action * fix expressions * give up on run-name for now * update substitution * separate build from test * remove --no-build from build DOH * Reference Microsoft.NET.Test.Sdk explicitly in StaticImplicitInititialization Tests * re-enable other jobs and separate build/test * tests dropped checkout action * job dependency problem * no longer wait for 'build' will introduce a quicker lint job later * remove inline reporter
- Loading branch information
Showing
44 changed files
with
196 additions
and
174 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,38 @@ | ||
--- | ||
name: Test | ||
description: Runs part of the test suite | ||
|
||
inputs: | ||
name: | ||
description: 'Name of the test suite we are running.' | ||
required: true | ||
filter: | ||
description: 'test filter to select tests from solution projects' | ||
required: false | ||
project: | ||
description: 'test filter to select tests from solution projects' | ||
required: false | ||
default: 'ElasticApmAgent.sln' | ||
framework: | ||
description: 'test filter to select tests from solution projects' | ||
required: false | ||
default: 'net7.0' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Test ${{ inputs.name }} | ||
shell: bash | ||
run: | | ||
dotnet test -c Release ${{ inputs.project }} --no-build \ | ||
--verbosity minimal \ | ||
${{ inputs.filter != '' && format('--filter "{0}"', inputs.filter) || '' }} \ | ||
${{ inputs.framework != '' && format('-f {0}', inputs.framework) || '' }} \ | ||
--logger:"junit;LogFilePath=$(readlink -f build/output)/junit-{framework}-{assembly}.xml;MethodFormat=Class;FailureBodyFormat=Verbose" \ | ||
- name: Store test results | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-results | ||
path: build/output/**/junit-*.xml |
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
Oops, something went wrong.