diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1149aa..9c234ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,11 @@ name: Build & Test -on: +on: # Trigger on pushes to the main branch push: - branches: [ main ] + branches: [ master ] # Trigger on any pull request - pull_request: + pull_request: jobs: pre-commit: @@ -62,10 +62,11 @@ jobs: - name: Run xUnit tests run: dotnet test -p:EnableInstallers=false --collect:"XPlat Code Coverage" - + - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: directory: ./ThunderstoreCLI.Tests/TestResults/ env_vars: OS fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}