Skip to content

Commit 0213709

Browse files
committed
test: filter E2E test
1 parent bcbdb29 commit 0213709

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/trigger-PR-pipeline.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,22 @@ jobs:
111111
- run: dotnet restore --locked-mode
112112
- run: dotnet clean --verbosity quiet
113113
- run: dotnet build --verbosity quiet /property:WarningLevel=0
114-
115-
- name: Set up Docker
116-
uses: docker/setup-docker-action@v4
117114

118115
- name: Run Test Project
119116
run: |
117+
extra_filter=""
118+
if [[ "${{ matrix.os }}" != "ubuntu-latest" ]]; then
119+
extra_filter="--filter FullyQualifiedName!~E2E_Auth_Session_Tests"
120+
fi
121+
120122
mkdir -p TestResults
121123
project="${{ matrix.testProject }}"
122124
safe_name=$(basename "$project" .csproj)
123125
echo "Running test project: $project"
124126
dotnet test "$project" \
125127
--no-restore \
126128
--no-build \
129+
$extra_filter \
127130
--logger "trx;LogFileName=$safe_name.trx" \
128131
--results-directory ./TestResults \
129132
--collect:"XPlat Code Coverage" \

0 commit comments

Comments
 (0)