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

Build up a test and support matrix #30

Open
detiber opened this issue Jun 30, 2022 · 6 comments
Open

Build up a test and support matrix #30

detiber opened this issue Jun 30, 2022 · 6 comments
Assignees

Comments

@detiber
Copy link
Contributor

detiber commented Jun 30, 2022

  • What Operating Systems/versions do we expect to support?
  • What Python versions?
  • What does manual testing look like?
  • Do we need "mock" organizations/repos for manual/automated e2e type testing?
  • What does automated testing look like?
@annegentle
Copy link
Contributor

For manual testing, locally I'm using Python 3.9.6 when running the gh_search.py script to get my inventory listings. I am running against the CiscoDevNet org which has about 1,100 repos, 750 public.

@detiber detiber self-assigned this Jun 30, 2022
@detiber
Copy link
Contributor Author

detiber commented Jun 30, 2022

@annegentle @justaugustus any objections to skipping Python 2.x support and just targeting Python 3.x versions that are currently supported by the Python community?

If for no other reason, it would completely eliminate the potential for a whole category of bugs surrounding string/unicode handling in Python for testing purposes.

It might cause a pain for folks running really old LTS Linux distros, but we could probably simplify supporting them by shipping a container image containing the tools rather than trying to support out of date Python versions.

@annegentle
Copy link
Contributor

No objections to skipping Python 2.x support from here.

@justaugustus
Copy link
Contributor

No objections from me either!

@justaugustus justaugustus assigned lelia and annegentle and unassigned detiber May 4, 2023
@annegentle
Copy link
Contributor

The last piece to determine a way forward is how we could "mock" organizations/repos for manual/automated e2e type testing.

Since the GitHub documentation uses octocat (for user) and github (for org), does using those for testing purposes make sense?

Another approach would be to use the cisco-open org for automated testing. Thoughts?

@lelia
Copy link
Contributor

lelia commented Jul 26, 2023

We actually have a separate cisco-ospo org that I've recently been using to test out organization management tools and reusable GitHub workflows. That would definitely be my preference over using cisco-open for testing. Do you know if there's limitations to using octocat/github in a testing context? I'd love to see the relevant docs for more info!

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

No branches or pull requests

4 participants