From 641d62bcaf77129b8b888f80d1c1b083b2c1fa6a Mon Sep 17 00:00:00 2001 From: Sofie Wisse Date: Tue, 31 Oct 2023 12:16:08 +0100 Subject: [PATCH] don't run tests for now --- .github/workflows/build.yml | 78 ++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aad644c7..555d59d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: build-function +name: build on: push: branches: @@ -25,45 +25,45 @@ jobs: - name: dotnet build run: dotnet build -c release - test: - needs: build - runs-on: ubuntu-latest - steps: - - name: checkout main - uses: actions/checkout@main + # test: + # needs: build + # runs-on: ubuntu-latest + # steps: + # - name: checkout main + # uses: actions/checkout@main - - name: sestup dotnet ${{ env.DOTNET_VERSION }} - uses: actions/setup-dotnet@v3 - with: - dotnet-version: ${{ env.DOTNET_VERSION }} - source-url: https://nuget.pkg.github.com/azure-devops-compliance/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.PAT }} - - name: dotnet test - run: dotnet test -c release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover - env: - TOKEN: ${{secrets.AZURE_DEVOPS_TOKEN}} - AzureWebJobsStorage: ${{secrets.AzureWebJobsStorage}} - - uses: codecov/codecov-action@v1 + # - name: sestup dotnet ${{ env.DOTNET_VERSION }} + # uses: actions/setup-dotnet@v3 + # with: + # dotnet-version: ${{ env.DOTNET_VERSION }} + # source-url: https://nuget.pkg.github.com/azure-devops-compliance/index.json + # env: + # NUGET_AUTH_TOKEN: ${{ secrets.PAT }} + # - name: dotnet test + # run: dotnet test -c release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover + # env: + # TOKEN: ${{secrets.AZURE_DEVOPS_TOKEN}} + # AzureWebJobsStorage: ${{secrets.AzureWebJobsStorage}} + # - uses: codecov/codecov-action@v1 - mutation-test: - needs: build - runs-on: ubuntu-latest - steps: - - name: checkout main - uses: actions/checkout@main + # mutation-test: + # needs: build + # runs-on: ubuntu-latest + # steps: + # - name: checkout main + # uses: actions/checkout@main - - name: setup dotnet ${{ env.DOTNET_VERSION }} - uses: actions/setup-dotnet@v3 - with: - dotnet-version: ${{ env.DOTNET_VERSION }} - source-url: https://nuget.pkg.github.com/azure-devops-compliance/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.PAT }} + # - name: setup dotnet ${{ env.DOTNET_VERSION }} + # uses: actions/setup-dotnet@v3 + # with: + # dotnet-version: ${{ env.DOTNET_VERSION }} + # source-url: https://nuget.pkg.github.com/azure-devops-compliance/index.json + # env: + # NUGET_AUTH_TOKEN: ${{ secrets.PAT }} - - name: stryker - run: | - dotnet tool install -g dotnet-stryker - dotnet stryker -tp "['Functions.Tests/Functions.Tests.csproj']" -im "['ConfigureAwait']" --reporters "['dashboard']" --dashboard-project github.com/azure-devops-compliance/azure-functions/main - env: - STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_TOKEN }} \ No newline at end of file + # - name: stryker + # run: | + # dotnet tool install -g dotnet-stryker + # dotnet stryker -tp "['Functions.Tests/Functions.Tests.csproj']" -im "['ConfigureAwait']" --reporters "['dashboard']" --dashboard-project github.com/azure-devops-compliance/azure-functions/main + # env: + # STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_TOKEN }} \ No newline at end of file