Skip to content

Commit

Permalink
[delete] debug workflow and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
get-me-power committed Oct 1, 2022
1 parent 79d8044 commit e5e7231
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- v8.2.0000
- v8.1.0000
- v8.0.0000

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -27,15 +28,13 @@ jobs:
with:
repository: thinca/vim-themis
path: vim-themis

- name: Setup Vim
uses: rhysd/action-setup-vim@v1
id: vim
with:
version: ${{ matrix.vim }}

- name: Check OS
run: uname -a

- name: Test
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
Expand Down
4 changes: 2 additions & 2 deletions test/fileformat.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ let s:assert = themis#helper('assert')

function! s:suite.UnixIcon()
set fileformat=unix
let os = system('uname -s')
let os = system('uname -a')
if os =~# 'Darwin'
call s:assert.equals(WebDevIconsGetFileFormatSymbol(), '')
" It may return Ubuntu because github-actions's OS is Ubuntu
elseif os =~# 'ubuntu'
elseif os =~# 'Ubuntu'
call s:assert.equals(WebDevIconsGetFileFormatSymbol(), '')
else
call s:assert.skip('Skip testing except for Ubuntu and Mac.')
Expand Down

0 comments on commit e5e7231

Please sign in to comment.