Skip to content

Conversation

@Shane32
Copy link
Member

@Shane32 Shane32 commented Nov 2, 2020

If we are not going to have a "mono repo", we should target the oldest compatible version of GraphQL.Net. For this repo, 3.0.0. We can run tests against the latest version of GraphQL.Net, however, and this PR is a demonstration of running tests against multiple versions of the GraphQL.Net library.

These changes compile the authorization library to run against >=3.0.0 but then runs tests against all these versions on both windows and ubuntu:

  • 3.0.0
  • 3.1.0
  • 3.1.3
  • 4.0.0-preview-17

Locally the tests are configured to run against 3.1.3.

This now is the true benefit of separate repos, where people can select a new version of one component without updating the rest of their references. (The increased testing is really just a bonus.)

Note: required status checks needs to change to "all-tests"

@Shane32 Shane32 self-assigned this Nov 2, 2020
@github-actions github-actions bot added the test Pull request that adds new or changes existing tests label Nov 2, 2020
@github-actions github-actions bot added the CI CI configuration issue or pull request label Nov 2, 2020
@Shane32 Shane32 changed the title WIP: Test multi version targeting Multi version targeting of GraphQL.Net Nov 2, 2020
@sungam3r sungam3r changed the title Multi version targeting of GraphQL.Net Multi version targeting of GraphQL.NET Nov 2, 2020
@Shane32 Shane32 merged commit a590608 into master Nov 2, 2020
@Shane32 Shane32 deleted the Shane32-patch-1 branch November 2, 2020 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI configuration issue or pull request test Pull request that adds new or changes existing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants