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

AlgoKit maintainers can trigger portability tests to verify validity of pyinstaller binaries #407

Closed
2 tasks
aorumbayev opened this issue Feb 5, 2024 · 0 comments
Assignees
Labels
algokitv3 AlgoKit v3 backlog items

Comments

@aorumbayev
Copy link
Collaborator

aorumbayev commented Feb 5, 2024

Description

The goal is to introduce a set of portability tests that ensures the following:

  • AlgoKit maintainers have higher confidence in identical behaviour on wheel vs binary execution mode when releasing new features
  • Improving the ability to track regression between releases of algokit cli

Technical Details

Introduce a set of tests to run against a fresh pyinstaller binary to verify main functionality of the algokit cli:

  • doctor
  • init
  • bootstrap
  • task vanity-task
  • localnet

Acceptance Criteria

  1. AlgoKit maintainers can rely on automation pipelines to verify validity of new functionality within the context of binary execution mode
  2. AlgoKit maintainers can quickly spot compatibility issues and regression in binary execution mode between algokit cli releases

Tasks

  • Introduce a new pytest python file separate from algokit cli approval tests that covers triggers of specific commands and asserts valid exit codes
  • Introduce extra step into github actions pipelines to trigger this script via pytest after binary is build.
@aorumbayev aorumbayev added the algokitv3 AlgoKit v3 backlog items label Feb 5, 2024
@aorumbayev aorumbayev added this to the AlgoKit CLI enhancements milestone Feb 5, 2024
@aorumbayev aorumbayev self-assigned this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algokitv3 AlgoKit v3 backlog items
Projects
None yet
Development

No branches or pull requests

1 participant