Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working, nothing is displayed in Github Actions #43

Open
TekuSP opened this issue Sep 14, 2024 · 0 comments
Open

Not working, nothing is displayed in Github Actions #43

TekuSP opened this issue Sep 14, 2024 · 0 comments

Comments

@TekuSP
Copy link

TekuSP commented Sep 14, 2024

It returns error code:

Generating Markdown Report from TRX file

VERBOSE: Resolving TRX file relative to current directory: D:\a\Maat-Manager\Maat-Manager\_TMP\test-results.trx
VERBOSE: Resolving MD file relative to current directory: D:\a\Maat-Manager\Maat-Manager\_TMP\test-results.md
VERBOSE: Resolving default XSL file: D:\a\_actions\zyborg\dotnet-tests-report\v1\trx-report/trx2md.xsl
VERBOSE: Loaded XSL transformer
VERBOSE: Transforming TRX to MD
Publishing Report to GH Workflow

Resolving REF

Resolved REF as 6f73ba4081ca81a2ce084d8ea7bc418b38fcc3b5

Resolve Repo Full Name as TekuSP/Maat-Manager

Adding Check Run

Invoke-WebRequest: D:\a\_actions\zyborg\dotnet-tests-report\v1\action.ps1:149
Line |
 149 |      Invoke-WebRequest -Headers $hdr $url -Method Post -Body ($bdy | C …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     |  {   "message": "Resource not accessible by integration",   "documentation_url":
     | "https://docs.github.com/rest/checks/runs#create-a-check-run",   "status": "403" }
Publishing Report to GH Workflow

my implementation is:


    - name: Test
      uses: zyborg/dotnet-tests-report@v1
      with:
        project_path: "Maat Plugin Manager Tests/Maat Plugin Manager Tests.csproj"
        report_name: maat_plugin_manager_tests
        report_title: Maat Plugin Manager Tests
        github_token: ${{ secrets.GITHUB_TOKEN }}
        gist_token: ${{ secrets.GIST_TOKEN }}
        gist_name: maat_plugin_manager_tests.md
        gist_badge_label: 'Maat Plugin Manager: %Counters_passed%/%Counters_total%'

What I am doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant