File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 \
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
You can’t perform that action at this time.
0 commit comments