Skip to content

Commit 5dcf07c

Browse files
committed
nevermind, always run full test
1 parent bd1be49 commit 5dcf07c

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,9 @@ jobs:
4747
dotnet-version: '${{ env.DOTNET_VERSION }}'
4848

4949
- name: Run tests
50-
env:
51-
RUN_INTEGRATION: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.ref_name == 'develop' || github.ref_name == 'master' }}
5250
run: |
5351
set -euo pipefail
54-
if [ "$RUN_INTEGRATION" = "true" ]; then
55-
target="--solution OpenShockBackend.slnx"
56-
else
57-
target="--project Common.Tests/Common.Tests.csproj"
58-
fi
59-
dotnet test -c Release $target \
52+
dotnet test -c Release --solution OpenShockBackend.slnx \
6053
--results-directory "artifacts/test-results" \
6154
-- \
6255
--coverage \
@@ -77,7 +70,6 @@ jobs:
7770
name: Coverage
7871
runs-on: ubuntu-latest
7972
needs: [tests]
80-
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.ref_name == 'develop' || github.ref_name == 'master' }}
8173
outputs:
8274
linecoverage: ${{ steps.enforce.outputs.linecoverage }}
8375

0 commit comments

Comments
 (0)