feat/live-preview #8
@ -46,7 +46,16 @@ jobs:
|
|||||||
if: ${{ vars.SKIP_TESTS_PR != 'true' }}
|
if: ${{ vars.SKIP_TESTS_PR != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
echo "🧪 Executando testes no PR"
|
echo "🧪 Executando testes no PR"
|
||||||
dotnet test --no-build --configuration Release --verbosity normal
|
SKIP_TESTS="${{ github.event.inputs.skip_tests || vars.SKIP_TESTS }}"
|
||||||
|
|
||||||
|
if [ "$SKIP_TESTS" == "true" ]; then
|
||||||
|
echo "⚠️ Testes PULADOS"
|
||||||
|
echo "TESTS_SKIPPED=true" >> $GITHUB_ENV
|
||||||
|
else
|
||||||
|
echo "✅ Executando testes"
|
||||||
|
dotnet test --no-build --configuration Release --verbosity normal
|
||||||
|
echo "TESTS_SKIPPED=false" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Build Docker image (test only)
|
- name: Build Docker image (test only)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user