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

Add solana-program-test compatibility test in CI #2841

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Mar 14, 2024

  1. Initial commit: add compatibility-testing package to tests directory

    The compatibility-testing package contains a simple compatibility test defined in compatibility-testing/programs/compatibility-testing/tests/solana_program_test.rs that checks for entrypoint lifetime compatibility
    dfy313 committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    a2c404d View commit details
    Browse the repository at this point in the history
  2. Add test-anchor-compatibility job to CI

    This CI job executes the newly added solana_program_test entrypoint_lifetime test. “continue-on-error: true” is included as the compatibility test is currently expected to fail
    dfy313 committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6ac4d9e View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    4f8b32d View commit details
    Browse the repository at this point in the history
  2. Address PR Feedback

    This commit renames the compatibility-testing package, test file, and test case to: solana-program-test-compatibility, compatibility-test.rs, and check_entrypoint. This commit also updates the compatibility test by passing None to the builtin_function argument, and letting cargo test-sbf load the programs. Finally, this commit updates the CI job in reusable-tests to take advantage of existing structure.
    dfy313 committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d6715a8 View commit details
    Browse the repository at this point in the history