Skip to content

Commit

Permalink
do not run asm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pinzart90 committed Feb 13, 2024
1 parent 99c66dd commit 1af1f66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Run test with the dotnet CLI
run: |
dotnet test ${{ github.workspace }}\DynamoSamples\src\SampleLibraryTests -p:Configuration=Release --filter "TestCategory!=Failure" --logger "trx;LogFileName=results.trx" --results-directory ${{ github.workspace }}\DynamoSamples\TestResults
dotnet test ${{ github.workspace }}\DynamoSamples\src\SampleLibraryTests -p:Configuration=Release --filter "TestCategory!=Failure&TestCategory!=NEEDS_ASM" --logger "trx;LogFileName=results.trx" --results-directory ${{ github.workspace }}\DynamoSamples\TestResults
- name: Upload build artifact
uses: actions/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions src/SampleLibraryTests/HelloDynamoZeroTouchTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ namespace SampleLibraryTests
class HelloDynamoZeroTouchTests : GeometricTestBase
{
[Test]
[Category("NEEDS_ASM")]
public void PassingTest()
{
var myObject = Point.ByCoordinates(5, 5, 5);
Assert.NotNull(myObject);
}

[Test]
[Category("NEEDS_ASM")]
public void FailingTest()
{
var p1 = Point.ByCoordinates(0, 0, 0);
Expand Down

0 comments on commit 1af1f66

Please sign in to comment.