[GODRIVER-2445] Update CI scripts to run tests for all top-level directories Created: 02/Jun/22  Updated: 06/Jul/22  Resolved: 24/Jun/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.10.0

Type: Bug Priority: Major - P3
Reporter: Matt Dale Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

Currently the Makefile discovers test packages with a list of top-level directories (see here). However, that list currently isn't complete (it excludes the "internal" top-level directory) and generally can miss tests when new top-level directories are created if the dev doesn't realize they also need to update the Makefile.

Update the Makefile and/or other CI scripts to always run all test packages, possibly excluding any top-level package directories that we can't or shouldn't run tests for. Expect that when new top-level directories are added, tests in those package directories are automatically run.

Definition of done:

  • Tests in all directories are run during CI runs (except any directories that can't or shouldn't be run).
  • Tests in any new directories are automatically run during CI runs.


 Comments   
Comment by Githook User [ 24/Jun/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: GODRIVER-2445 Clean up Makefile and run all package tests in targets. (#997)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ec7894ea2c3874f4d4f9582d8ae9c589fc7ae2d6

Comment by Benji Rewis (Inactive) [ 23/Jun/22 ]

https://github.com/mongodb/mongo-go-driver/pull/997

Generated at Thu Feb 08 08:38:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.