Skip to content

Conversation

@amotl
Copy link
Member

@amotl amotl commented Oct 30, 2024

About

Based on GH-23, this adds a a few bits of configuration to use the files in the "examples" folder as test cases. On top, a CI configuration using GHA will automate things well.

Status

Currently, it is still about CPython only. Enabling a MicroPython test matrix slot would still be up for another iteration.

Remarks

Please integrate the other patch first, because this one is stacked upon it.

@cla-bot cla-bot bot added the cla-signed label Oct 30, 2024
@amotl amotl force-pushed the testing-and-ci branch 4 times, most recently from f5875b2 to c3ba2f5 Compare October 30, 2024 18:32
Comment on lines 90 to 92
if response["rowcount"] == 1:
print(f"Average temperature over last 24hrs: {response["rows"][0][0]}")
print(f"Average temperature over last 24hrs: {response['rows'][0][0]}")
num_iterations = 0
Copy link
Member Author

Choose a reason for hiding this comment

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

That's a syntax error at least on CPython 3.7. I wonder why it is apparently not the same on either MicroPython or CPython 3.13.

@amotl amotl force-pushed the testing-and-ci branch 3 times, most recently from 1cfaaa6 to fe62c57 Compare October 30, 2024 18:40
@amotl amotl requested a review from simonprickett October 30, 2024 18:41
@amotl amotl marked this pull request as ready for review October 30, 2024 18:41
Base automatically changed from cpython to main October 30, 2024 19:01
Copy link
Contributor

@simonprickett simonprickett left a comment

Choose a reason for hiding this comment

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

Looks good to me @amotl

@amotl amotl merged commit 8203173 into main Oct 30, 2024
2 checks passed
@amotl amotl deleted the testing-and-ci branch October 30, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants