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

Make Test runable in VS and runable by any one #45

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

0nary
Copy link
Contributor

@0nary 0nary commented Nov 10, 2022

I make some change to your test so the test can be run by anyone.
To do so, the person needs to clone the test repository and create a GITHUBACCESSTOKEN to the for the test repository.

If he will run the test inside Visual Studio he needs to add a Local.cs file in the setup folder of Integration.Tests with this code:

partial class EnvironmentVariable
   {
       public EnvironmentVariable()
       {
           this.GitHubActor = {{GitHub.Actor}}; // the name of the account how own the GITHUBACCESSTOKEN
           this.GitHubAccessToken = {{GITHUBACCESSTOKEN}}; // the GITHUBACCESSTOKEN for the test repository
           this.GitHubTestRepoAddress = {{TestRepoAddress}}; // only needed if the test repos is not 'github.com/{actor}/Versioning.NET.Tests.git'
       }
   }

@0nary
Copy link
Contributor Author

0nary commented Dec 9, 2022

For work related reason I will no longer use this account, and switch to my personal account @Aedjis .

Copy link

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.

1 participant