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

feature: Add report list as parameter #14

Merged
merged 2 commits into from May 5, 2020
Merged

Conversation

franciscodua
Copy link
Contributor

  • Users can specify a list of reports to send
  • We always send a final signal, even if we only need to send one report

Copy link
Contributor

@josemiguelmelo josemiguelmelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job here 👌

fi
done

bash <(curl -Ls https://coverage.codacy.com/get.sh) report $params --partial &&\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need the &&\?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without it, we run the second action even if the first failed. Which shouldn't happen

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, cool 👍

Copy link
Contributor

@josemiguelmelo josemiguelmelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

required: true
coverage-reports:
description: 'Optional comma separated list of coverage reports to send to Codacy'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have a real yaml list instead a comma separated string?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't unfortunately. Github actions doesn't support it yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@franciscodua franciscodua merged commit 4f8ea68 into master May 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the report-parameters branch May 5, 2020 08:01
This was referenced May 5, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants