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 support for keyring in macOS tests #794

Open
BartoszCiesla opened this issue Mar 14, 2024 · 0 comments
Open

Add support for keyring in macOS tests #794

BartoszCiesla opened this issue Mar 14, 2024 · 0 comments
Assignees
Labels
ci-cd Pipeline related change tui Command line interface (iggy-cmd/iggy-cli) related change

Comments

@BartoszCiesla
Copy link
Collaborator

Install and configure needed SW in macOS pipeline (https://github.com/iggy-rs/iggy/blob/master/.github/workflows/test_pr.yml#L103) and enable 2 test cases (which are disabled for macOS only right now)

  • integration/tests/cli/personal_access_token/mod.rs
  • integration/tests/cli/system/mod.rs

Error reported by keyring crate on macOS whith missing keyring setup in the OS:

---- cli::personal_access_token::test_pat_login_options::should_be_successful stdout ----
thread 'cli::personal_access_token::test_pat_login_options::should_be_successful' panicked at integration/tests/cli/personal_access_token/test_pat_login_options.rs:82:14:
Failed to set token: PlatformFailure(Error { code: -25308, message: "User interaction is not allowed." })
@BartoszCiesla BartoszCiesla added ci-cd Pipeline related change tui Command line interface (iggy-cmd/iggy-cli) related change labels Mar 14, 2024
@BartoszCiesla BartoszCiesla added this to the iggy-cli 1.0.0 milestone Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd Pipeline related change tui Command line interface (iggy-cmd/iggy-cli) related change
Projects
None yet
Development

No branches or pull requests

2 participants