mirror of
https://github.com/sharkdp/bat.git
synced 2025-04-18 16:50:33 +01:00
Ignore 'all_themes_are_present' unit test by default
This commit is contained in:
parent
2ecebf8ff2
commit
9dd807344c
5
.github/workflows/CICD.yml
vendored
5
.github/workflows/CICD.yml
vendored
@ -58,6 +58,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --release
|
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
|
- name: Syntax highlighting regression test
|
||||||
run: tests/syntax-tests/regression_test.sh
|
run: tests/syntax-tests/regression_test.sh
|
||||||
- name: List of languages
|
- name: List of languages
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
use bat::assets::HighlightingAssets;
|
use bat::assets::HighlightingAssets;
|
||||||
|
|
||||||
/// This test ensures that we are not accidentally removing themes due to submodule updates.
|
/// 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]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn all_themes_are_present() {
|
fn all_themes_are_present() {
|
||||||
let assets = HighlightingAssets::from_binary();
|
let assets = HighlightingAssets::from_binary();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user