1
0
mirror of https://github.com/sharkdp/bat.git synced 2024-10-05 18:31:06 +01:00

Ignore 'all_themes_are_present' unit test by default

This commit is contained in:
sharkdp 2020-10-24 14:45:13 +02:00 committed by David Peter
parent 2ecebf8ff2
commit 9dd807344c
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,11 @@ jobs:
with:
command: test
args: --release
- name: Run ignored-by-default unit tests with new syntaxes and themes
uses: actions-rs/cargo@v1
with:
command: test
args: --release -- --ignored
- name: Syntax highlighting regression test
run: tests/syntax-tests/regression_test.sh
- name: List of languages

View File

@ -1,7 +1,9 @@
use bat::assets::HighlightingAssets;
/// This test ensures that we are not accidentally removing themes due to submodule updates.
/// It is 'ignore'd by default because it requires themes.bin to be up-to-date.
#[test]
#[ignore]
fn all_themes_are_present() {
let assets = HighlightingAssets::from_binary();