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

🌙 Nightly CI with Mina Local Network #117

Open
teddyjfpender opened this issue Dec 28, 2023 · 1 comment
Open

🌙 Nightly CI with Mina Local Network #117

teddyjfpender opened this issue Dec 28, 2023 · 1 comment
Labels
enhancement New feature or request test Related to testing

Comments

@teddyjfpender
Copy link
Collaborator

Description

We've successfully implemented a Proof of Concept (POC) workflow utilizing mina-local-network, paving the way for a significant enhancement in Pallad's test suites. The proposed feature involves the integration of workflows & (CI) that not only test against this deployed network within CI but also against public networks.

🎯 Goals

  • Enhance Pallad's test suites.
  • Implement workflows & CI that utilize mina-local-network.
  • Test against both the local network in CI and public networks.

🛠️ Proposed Solution

  • Introduce environmental variables to the test suites for greater flexibility.
  • These variables should include configurable mnemonics, network URLs.
  • Eliminate hard-coded parameters currently present in our test suites to allow for more dynamic and adaptable testing environments.

🚀 Package Release via Nightly Workflows

  • Implement automated nightly workflows to release Pallad's packages to npmjs.
  • Ensure each nightly build passes all new and existing tests before release.
  • This automation enhances the frequency and reliability of package updates, providing users with the latest features and bug fixes.

💡 Expected Benefits

  • Enhanced test accuracy and coverage.
  • Increased flexibility and adaptability in testing different network environments.
  • Improved reliability and maintainability of Pallad's test suites.
@teddyjfpender teddyjfpender added enhancement New feature or request test Related to testing labels Dec 28, 2023
@teddyjfpender
Copy link
Collaborator Author

A first attempt was made at this in PR #121. It is a simple task to extend this nightly workflow against the node provider but not yet possible to abstract over archive provider as it is specific to Mina Explorer's API and not agnostic yet.

To better enable a nightly CI the @palladxyz/mina-graphql package should be renamed & refactored to @palladxyz/mina-providers to have agnostic providers that can all satisfy a single wallet-provider interface to fetch account information, transaction information, and transaction submission APIs. This would make it easier to extend Pallad to using a local web-node like OpenMina or any Mina data provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test Related to testing
Projects
None yet
Development

No branches or pull requests

1 participant