Skip to content

Commit

Permalink
Re-enable MacOS except for one test
Browse files Browse the repository at this point in the history
  • Loading branch information
necto committed Jul 29, 2024
1 parent 1a40282 commit 6779a0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
# TODO: fix lsp-sonarlint-c++-reports-issues on macos and include it
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
emacs-version:
- 27.2
- 28.2
- 29.4
experimental: [false]
include:
- os: ubuntu-latest
emacs-version: snapshot
experimental: true
- os: macos-latest
emacs-version: snapshot
experimental: true
# TODO: enable once emacs snapshot version is fixed
# see https://github.com/emacs-eask/cli/issues/224
# include:
# - os: ubuntu-latest
# emacs-version: snapshot
# experimental: true
# - os: macos-latest
# - os: windows-latest
# emacs-version: snapshot
# experimental: true
exclude:
Expand Down
6 changes: 4 additions & 2 deletions test/lsp-sonarlint-integration-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,10 @@ If nil, use python-mode by default."

(ert-deftest lsp-sonarlint-c++-reports-issues ()
"Check that LSP can get go SonarLint issues for a C++ file."
(should (equal (lsp-sonarlint--get-all-issue-codes "sample.cpp" 'c++-mode)
'("cpp:S995"))))
;; TODO: fix for MacOS
(unless (eq system-type 'darwin)
(should (equal (lsp-sonarlint--get-all-issue-codes "sample.cpp" 'c++-mode)
'("cpp:S995")))))

(defun lsp-sonarlint--find-descr-action-at-point ()
"Find the `get rule description' code action for the issue at point."
Expand Down

0 comments on commit 6779a0d

Please sign in to comment.