joonvena / robotframework-reporter-action

This action can be used to send parsed test report as comment to that commit that triggered test run
26 stars 14 forks source link

Execution summary is not displayed #14

Closed zastress closed 2 years ago

zastress commented 2 years ago

I have this piece of code running on Github actions:

generate_report:
        if: always()
        needs: [Run-Api-Tests] 
        runs-on: ubuntu-22.04
        steps:
        - uses: actions/checkout@v2
        - name: Download reports
          uses: actions/download-artifact@v1
          with:
            name: reports
        - name: Send report to commit
          uses: joonvena/robotframework-reporter-action@v2
          with:
            gh_access_token: ${{ secrets.TOKEN }}
            summary: true

According to the documentation, adding summary: true should output the test summary but I get this error inside the Action output: Unexpected input(s) 'summary', valid inputs are ['gh_access_token', 'report_path', 'sha', 'pull_request_id']

joonvena commented 2 years ago

Hi, you need to use the @v2.1 of the action :)

zastress commented 2 years ago

Read that in the closed bugs after creating this one :). Thanks for the quick response ;)