summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-03 19:18:44 -0500
committerGitHub <noreply@github.com>2020-12-03 19:18:44 -0500
commitd68001471ddaf231911b29b8d6c6d20dd555cc2e (patch)
tree292e3818fe14cba2190b7767b46aac503fe4f4b6 /.github
parent0ddd0648190f2d0497a7f3a9e89b26d04186feaf (diff)
Add test coverage of main.rs (#423)
* Refactor: pass handle to writer * Add test of list_syntax_themes * Add test of show_syntax_themes * Refactor: pass writer handle * Add test of show_config * Exclude main function from coverage calculations * DEBUGGING * Refactor: only use stdin if non-empty Motivation: in the CI test build, atty::is(stdin) seems to be returning false.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bcad4b42..e09da869 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,7 +31,7 @@ jobs:
with:
command: test
use-cross: ${{ matrix.job.use-cross }}
- args: --target ${{ matrix.job.target }} --verbose
+ args: --target ${{ matrix.job.target }} --verbose -- --nocapture
integration_tests:
name: Integration tests