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

[TS-628] Github Actions Error: Process completed with exit code 253 #75

Open
ooples opened this issue Oct 18, 2023 · 1 comment
Open
Labels
jira-issue Issue tracked on JIRA

Comments

@ooples
Copy link

ooples commented Oct 18, 2023

I'm trying to create a github pipeline and I'm getting very generic errors when trying to generate code coverage reports and uploading them to Codacy. I don't see any errors at all in the output log other than the error from my title at the very end. All of my unit tests pass and code builds successfuly. Any ideas on how to find out what the error is? I have pasted the output log below:

enter image description here

- name: Restore .NET Tools
      run: dotnet tool restore
      working-directory: ./tests

    - name: Dotnet Test (Debug)
      run: dotnet dotcover test --dcOutput="AiDotNet.Coverage.xml" --dcReportType="XML"

    - name: Dotnet Build (Release)
      run: dotnet build -c Release
          
    - name: Send Coverage to Codacy
      env:
        CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
      run: bash <(curl -Ls https://coverage.codacy.com/get.sh)

I followed a few different tutorials for how to setup the codacy github actions from the codacy website as well as github action examples.

UPDATE: I'm using the setup .net github action using the code below:

- name: Setup .NET 8.0.x
  uses: actions/setup-dotnet@v3
  with:
    dotnet-version: '8.0.x'

UPDATE #2: I'm uploading the full debug log for the step where it is failing at: https://pastebin.com/Pc7AXiqb

@github-actions
Copy link

Internal ticket created : TS-628

@github-actions github-actions bot changed the title Github Actions Error: Process completed with exit code 253 [TS-628] Github Actions Error: Process completed with exit code 253 Oct 18, 2023
@github-actions github-actions bot added the jira-issue Issue tracked on JIRA label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-issue Issue tracked on JIRA
Projects
None yet
Development

No branches or pull requests

1 participant