Skip to content

Commit

Permalink
Revert "chore(ci): Disable tests"
Browse files Browse the repository at this point in the history
This reverts commit 3ac0bbe.
  • Loading branch information
eduardo committed Nov 2, 2023
1 parent 759eb5e commit 5ed36fe
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/azure-webapps-dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,31 @@ jobs:
name: .net-app
path: ${{env.DOTNET_ROOT}}/myapp

# test:
# needs: build
# runs-on: ubuntu-latest
# environment: STAGING
test:
needs: build
runs-on: ubuntu-latest
environment: STAGING

# steps:
# - name: Checkout code
# uses: actions/checkout@v3
steps:
- name: Checkout code
uses: actions/checkout@v3

# - name: Set up .NET Core
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Set up .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

# - name: Run Unit Tests
# run: dotnet test ${{ env.UNIT_TESTS_PROJ }} --configuration Release
- name: Run Unit Tests
run: dotnet test ${{ env.UNIT_TESTS_PROJ }} --configuration Release

# - name: Run Integration Tests
# run: dotnet test ${{ env.INTEGRATION_TESTS_PROJ }} --configuration Release
- name: Run Integration Tests
run: dotnet test ${{ env.INTEGRATION_TESTS_PROJ }} --configuration Release

deploy:
permissions:
contents: none
runs-on: ubuntu-latest
needs: build
needs: test
environment:
name: STAGING
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand Down

0 comments on commit 5ed36fe

Please sign in to comment.