Skip to content

[skip changelog] Pin platform versions used in integration tests #879

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

Merged
merged 1 commit into from
Jul 28, 2020
Merged

[skip changelog] Pin platform versions used in integration tests #879

merged 1 commit into from
Jul 28, 2020

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Jul 28, 2020

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce?

Bug fix.

  • What is the current behavior?

The test_compile_without_precompiled_libraries integration test fails due to a release of the arduino:mbed platform that introduces an incompatibility with the Arduino_LSM9DS1 library used by that test. This failure has nothing to do with any change to Arduino CLI and doesn't indicate any problem with Arduino CLI, so it's not helpful.

  • What is the new behavior?

Where appropriate, platforms used by tests are pinned. This fixes the spurious test failure.

In some integration tests, using the latest version of a platform is appropriate and useful. In those cases, the platform was not pinned.

  • Does this PR introduce a breaking change?

No.

  • Other information:

References:

This prevents spurious test breakage caused by platform releases. These tests are about the behavior of Arduino CLI itself, not about testing the platform, so the platform should be static. There are certain tests which make sense to do with the latest release of the platforms, and those have been left as is.
@per1234 per1234 merged commit 55859ad into arduino:master Jul 28, 2020
@per1234 per1234 deleted the pin-test-platforms branch July 28, 2020 16:12
@per1234 per1234 self-assigned this Nov 23, 2021
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.

2 participants