Ignore 'all_themes_are_present' unit test by default
commit9dd807344c55751654174f4685ea1b8dc957b3f2
authorsharkdp <davidpeter@web.de>
dateSat 24 Oct 2020, 14:45 (6 years ago)
parent2ecebf8
.github/workflows/CICD.yml+5
@@ -58,6 +58,11 @@ jobs:
5858 with:
5959 command: test
6060 args: --release
61+ - name: Run ignored-by-default unit tests with new syntaxes and themes
62+ uses: actions-rs/cargo@v1
63+ with:
64+ command: test
65+ args: --release -- --ignored
6166 - name: Syntax highlighting regression test
6267 run: tests/syntax-tests/regression_test.sh
6368 - name: List of languages
tests/assets.rs+2
@@ -1,7 +1,9 @@
11use bat::assets::HighlightingAssets;
22
33/// This test ensures that we are not accidentally removing themes due to submodule updates.
4+/// It is 'ignore'd by default because it requires themes.bin to be up-to-date.
45#[test]
6+#[ignore]
57fn all_themes_are_present() {
68 let assets = HighlightingAssets::from_binary();
79