Skip to content

Commit

Permalink
Fix coverage CI flow and disable test on arm and aarch64 (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszCiesla authored Nov 13, 2023
1 parent 73904a1 commit 2d8cb57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
with:
key: "v2"

- name: Install gnome-keyring and keyutils on Linux
run: |
sudo apt-get update --yes && sudo apt-get install --yes gnome-keyring keyutils
rm -f $HOME/.local/share/keyrings/*
echo -n "test" | gnome-keyring-daemon --unlock
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

Expand Down
2 changes: 2 additions & 0 deletions integration/tests/cmd/personal_access_token/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ mod test_pat_create_command;
mod test_pat_delete_command;
mod test_pat_help_command;
mod test_pat_list_command;
// Disable tests due to missing keyring on arm and aarch64 until #294 is implemented
#[cfg(not(any(target_arch = "aarch64", target_arch = "arm")))]
mod test_pat_login_options;

0 comments on commit 2d8cb57

Please sign in to comment.