Skip to content

Add automated tests and CI #13

@smithara

Description

@smithara

Following on from #11 (comment)

Since there are more users of chaosmagpy, and some history of Python versions accruing and some installation issues, I think it's time to set up automated testing. I'm working on this here: https://github.com/smithara/ChaosMagPy/tree/setup-ci

Are there already some thoughts/plans here? I don't want to step on any toes :)

At first glance, I would:

  • test against the main recent Python versions. There's some balance to find about how far back to test - it's fine to still allow installation on old versions (where a user might need to make some manual intervention to make the install work), but we don't want to bother testing and maintaining too far back
  • Run the test weekly (is this a reasonable rate?) so that we can catch installation issues when dependencies are updated
  • need to adjust the current tests to supply the test data directory
  • look at removing the test_package.sh, build_package.sh, and consider reworking to use pytest

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions