wfxr / minimap.vim

📡 Blazing fast minimap / scrollbar for vim, powered by code-minimap written in Rust.
MIT License
1.19k stars 23 forks source link

Set up Windows runner for unit tests CI job #126

Closed garyttierney closed 2 years ago

garyttierney commented 2 years ago

NOTE: still WIP.

Check list

Description

This is an attempt to get the unit tests running under Windows in CI to hopefully help with testing issues like #109. There's a few kinks to iron out, so I've opened this as a draft until I get it passing. Ideally it'll remain mostly the same, with just the code-minimap stub and paths to neovim plugins changing.

Type of change

Test environment

garyttierney commented 2 years ago

Ah, appears that CI won't run if it's a draft PR. I've marked it ready for review but left a note indicating it's still WIP.

Hm, nevermind. I think I don't have permission to change and run the workflow like this in a pull request. I'll create a new repository on my own account and test there before re-opening this.

garyttierney commented 2 years ago

This is running correctly now, but an issue in vim-testify prevents me overriding g:testify#logger#type to get good test result output. I'll try get that fix upstream.

ZNielsen commented 2 years ago

Just to make sure I understand the scope - this is intended to run the unit tests on Windows, but it does not fix the unit tests, correct?

garyttierney commented 2 years ago

Just to make sure I understand the scope - this is intended to run the unit tests on Windows, but it does not fix the unit tests, correct?

That's right. I'd hoped to look at them after finishing this but went down the rabbit hole of fixing vim-testify to get test results from it in CI. Unless you get to them before I wrap this branch up I'll take a look once I've got this producing good output.