consolidate the tests locations
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
||||
branches: [ main, develop ]
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'tests/**'
|
||||
- 'src/__Tests/**'
|
||||
- 'scripts/test-lane.sh'
|
||||
- '.gitea/workflows/test-lanes.yml'
|
||||
push:
|
||||
@@ -92,15 +92,15 @@ jobs:
|
||||
include-prerelease: true
|
||||
|
||||
- name: Restore architecture tests
|
||||
run: dotnet restore tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj
|
||||
run: dotnet restore src/__Tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj
|
||||
|
||||
- name: Build architecture tests
|
||||
run: dotnet build tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj --configuration $BUILD_CONFIGURATION --no-restore
|
||||
run: dotnet build src/__Tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj --configuration $BUILD_CONFIGURATION --no-restore
|
||||
|
||||
- name: Run Architecture tests
|
||||
run: |
|
||||
mkdir -p "$TEST_RESULTS_DIR"
|
||||
dotnet test tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj \
|
||||
dotnet test src/__Tests/architecture/StellaOps.Architecture.Tests/StellaOps.Architecture.Tests.csproj \
|
||||
--configuration $BUILD_CONFIGURATION \
|
||||
--no-build \
|
||||
--logger "trx;LogFileName=architecture-tests.trx" \
|
||||
|
||||
Reference in New Issue
Block a user