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

feat: agency id validation notices #2

Conversation

briandonahue
Copy link

Summary:

Addresses MobilityData#878

  1. Added test for existing validation requiring agency_id if more than one agency in agency.txt
  2. generate a warning if there is a single agency in agency.txt but agency_id is not provided
  3. generate a warning if agency_id is missing in routes.txt and a single agency is defined in agency.txt with no agency_id
  4. generate an error if agency_id is missing in routes.txt but is included for single agency in agency.txt

Expected behavior:

N/A

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with gradle test to make sure you didn't break anything
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s) (N/A)

@KClough
Copy link

KClough commented Jan 23, 2023

Checks are likely failing related to this issue:

MobilityData#1304

@briandonahue
Copy link
Author

Moved PR to 1318

briandonahue pushed a commit that referenced this pull request Apr 12, 2023
…ityData#1382)

* Upgrade to Gradle 7.4 so that we can use the new `testReportAggregation`, which is a more standard way of aggregating test reports across all sub-projects.  Use this opportunity to consolidate a bunch of test options into the root project for consistent configuration.

* Comment tweak.

* Restore code to make sure `copyRulesMarkdown` runs before test execution.

* Make sure affected sources are in consistent sorted order for repeatable test execution.

* Disable UI tests in headless environments.

* Fix failing test on Windows due to line separators.

* Attempt #2 to test correctly under Windows.

* Consolidate Java compile options for consistency across projects.  This will also help some tests pass on Windows environments.

* Get another test passing on Windows.
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