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

Specify testing network with a network.json file #67

Merged
merged 3 commits into from
Mar 2, 2022
Merged

Conversation

FabijanC
Copy link
Collaborator

@FabijanC FabijanC commented Mar 1, 2022

The last PR merge to master resulted in a failing CircleCI test workflow. This is due to an error-prone way of specifying on which network a test should be executed.

This PR improves the if-else construct that was so far used in test.sh. Instead of specifying the tests to be skipped in test.sh, a network-specifying file (network.json) is placed inside the test directory. The file should indicate which networks should be targeted. If there is no file, the current network gets tested. Expected format:

{
  "devnet": true
}

Usage changes

  • Improve Readme.

Dev specific changes

  • Specify testing network with a network.json file.

The tests are failing on the last commit because I cancelled them as they only introduce new comments or update documentation.

@FabijanC FabijanC merged commit e1bf0e8 into master Mar 2, 2022
@FabijanC FabijanC deleted the network-json branch March 2, 2022 14:15
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