fix: 修复文档前缀未组合全局前缀的问题 #65
This file contains hidden or 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: Pull Request Checks | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0 | |
- name: Test And Coverage Report 📝 | |
run: | | |
dotnet build ./src/FreeRedis/FreeRedis.csproj | |
dotnet test --collect:"XPlat Code Coverage" | |
find ./test/FreeRedis.tests -name "coverage.cobertura.xml" -type f -exec cp {} ./ \; | |
bash <(curl -s https://codecov.io/bash) -Z -f coverage.cobertura.xml -t $CODECOV_TOKEN | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |