feat: add oidc credentials provider #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '2.x' | |
- name: install altcover | |
run: dotnet tool install --global altcover.visualizer --version 8.6.14 | |
- name: Install dependencies | |
run: cd aliyun-net-sdk-core.Tests/ && dotnet add package AltCover --version 8.6.14 && cd ../ && dotnet restore && dotnet build | |
- name: Test | |
run: dotnet test aliyun-net-sdk-core.Tests/ /p:AltCover=true | |
- name: Codecov | |
run: bash <(curl -s https://codecov.io/bash) -c -F unittest |