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

Run package tests with warn-as-error #5290

Merged
merged 2 commits into from
Apr 19, 2021
Merged

Conversation

chriselion
Copy link
Contributor

@chriselion chriselion commented Apr 19, 2021

Proposed change(s)

We're running upm-ci project test in the coverage job, so I think we can go back to just running the package tests in this job (assuming we didn't need this for the way we pack). Add --warnings-as-errors here to catch warnings that would appear in the package.

Types of change(s)

  • CI

@@ -33,7 +33,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
{% if package.name == "com.unity.ml-agents.extensions" %}
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
{% endif %}
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml")
pull_request.changes.any match ".yamato/com.unity.ml-agents-coverage.yml")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was triggering even though it wasn't supposed to (now it's triggering because it was modified).

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks

@chriselion chriselion requested a review from surfnerd April 19, 2021 17:54
@chriselion chriselion merged commit 4aeec42 into main Apr 19, 2021
@delete-merged-branch delete-merged-branch bot deleted the package-test-warn-as-error branch April 19, 2021 18:00
chriselion pushed a commit that referenced this pull request Apr 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants