6d27df3b77
Use unstable sort for theme test
2021-01-09 19:43:39 +01:00
73d14f4655
Use BatTester::default instead of BatTester::new
2021-01-09 19:43:39 +01:00
19b8c53c46
Enable clippy::style checks
2021-01-09 19:43:39 +01:00
cd7be018fe
Fix clippy suggestion: .or_else(|| Some(…)) => .or(Some(…))
2021-01-09 19:43:39 +01:00
03a2710a08
Use new matches!(…) macro to simplify code
2021-01-09 19:43:39 +01:00
09fbabb0b8
Add a Default implementation for PrettyPrinter
2021-01-09 19:43:39 +01:00
de6cb75f4b
Addressed PR feedback. Upped min version and used matches! macro
2021-01-09 15:21:26 +01:00
83c9cb7907
fix bug where long lines were truncated in plain mode without wrap=never not being set
2021-01-09 15:21:26 +01:00
7ffb04a17a
CICD: Build: Make 'Upload build artifacts' more like deploy
...
The end goal is to upload the same artifacts for a PR as we deploy
during a release, to make a regular PR pipeline as similar as possible
to a deploy.
The first step is to move 'Upload build artifacts' to after 'Package' so
we can upload the same files. Also change the name and artifacts to be
more similar to what we deploy for a release.
For #1474
2021-01-09 14:31:19 +01:00
c38c186d26
Add Enselic as a maintainer
2021-01-09 14:22:23 +01:00
e22a9a69b1
CICD: Build: Stop building on Ubuntu 16.04
...
End-of-life is in three months, and we already do the same build on
Ubuntu 18.04.
2021-01-09 08:30:54 +01:00
59f9adc706
CICD: Build: Add and use disable-deploy matrix var
...
This results in a nicer workflow file that is easier to follow.
Also remove the unneccesary doc row that repeats what is already in the
matrix and that is annoying to keep up to date.
For #1474
2021-01-09 08:30:54 +01:00
fed30b1b36
Fix theme dir hint in --list-themes output
2021-01-08 20:10:45 +01:00
411d68e839
CICD: Build: Remove unused JOB_DO_TESTING var and output
...
It is CARGO_TEST_OPTIONS that is used to control testing on
cross-compiled builds, so we can remove JOB_DO_TESTING.
For #1474
2021-01-08 19:54:25 +01:00
77d42a17c6
CICD: Build: Remove unused PKG_suffix output var
...
Only the env var is used, so output variant is not needed.
For #1474
2021-01-08 19:54:25 +01:00
e7c55bffe9
CICD: Build: Remove unused TARGET_* vars and outputs
...
For #1474
2021-01-08 19:54:25 +01:00
da10166625
Merge remote-tracking branch 'origin/master' into fix-1063
2021-01-07 12:58:26 +01:00
b6b7262962
CICD: Build: Use matrix.job.use-cross directly
...
There is no need for a var and set-output detour.
2021-01-07 10:55:29 +01:00
3ed83913b2
CICD: Build: Remove unused REF_* outputs
...
There is no usage of `steps.vars.outputs.REF_*` so no need to setup such
things. Also remove setting up REF_NAME and REF_BRANCH env vars, since
they are never read.
2021-01-07 10:54:00 +01:00
63460f4bf9
CICD: Build: Remove conditional TOOLCHAIN logic
...
because we always use "stable". If we need to go back to using
matrix.job.toolchain, we should do it like in jobs.coverage, instead of
messing about with vars and outputs.
2021-01-06 23:11:24 +01:00
c67b439752
CICD: Build: Enable x86_64-pc-windows-gnu again
...
All the referenced issues [1] have been Closed, so use "stable" for
everything. Now `i686-w64-mingw32-gcc` fails with this instead
error: linker `i686-w64-mingw32-gcc` not found
so keep it disabled. There is probably a simple solution for this that
is obvious to someone used to cross-compiling Rust programs on
Windows...
[1]
https://github.com/rust-lang/rust/issues/47048
https://github.com/rust-lang/rust/issues/53454
https://github.com/rust-lang/cargo/issues/6754
2021-01-06 23:11:24 +01:00
2b44940f81
Update CHANGELOG
2021-01-06 22:55:12 +01:00
26136be903
Add --diagnostics alias
2021-01-06 22:53:51 +01:00
6a52f69b58
Update to bugreport 0.3.0
2021-01-06 22:53:51 +01:00
60406c7c2d
Exhaustive list of relevant environment variables
2021-01-06 22:53:51 +01:00
2465438ec3
Bump bugreport version
2021-01-06 22:53:51 +01:00
99a61580e1
Add --diagnostic run to CI
2021-01-06 22:53:51 +01:00
dec94b4111
Add config file, compile time info and less version
2021-01-06 22:53:51 +01:00
ebb97e94a9
Add --diagnostic option to bat
2021-01-06 22:53:51 +01:00
5e1f9fadf4
CICD: Code Coverage: Explain why disabled
2021-01-06 22:34:03 +01:00
fe08de846d
CICD: Code Coverage: Disable for now
2021-01-06 22:34:03 +01:00
35e3c51b75
Fix unused import warning
2021-01-06 22:09:22 +01:00
59c9105c25
Fix clippy warnings in tests on Windows
2021-01-06 22:08:14 +01:00
b458292a69
Target VimL upstream .sublime-syntax file ( #1483 )
...
* Target VimL upstream .sublime-syntax file
Upstream **VimL Syntax** has been updated
to include `.sublime-syntax` file instead of `.tmLanguage`,
therefore manually added `.sublime-syntax` is no longer needed
* Remove .bin changes
2021-01-06 21:06:57 +01:00
78aed2cb69
CICD: Remove use-cross when host == target
2021-01-06 20:05:53 +01:00
46487b201f
Merge remote-tracking branch 'origin/master' into fix-1063
2021-01-06 14:30:55 +01:00
939a6a5f4d
CICD: Remove duplicate set-output calls ( #1479 )
...
The ::set-output syntax is the correct one according to
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter ,
so remove duplicates without that syntax.
2021-01-06 12:30:34 +01:00
caf0743811
CICD: Code Coverage: Use matrix.job.toolchain directly
...
No need for complicated var and set-output logic when we can simply use
matrix.job.toolchain directly.
2021-01-06 11:58:31 +01:00
9ccb667653
Add integration test for unparsable pager
...
Right now all tests pass even if we e.g. return
Ok(OutputType::stdout())
instead of doing
.chain_err(|| "Could not parse pager command.")?
so add a test to make sure this functionality don't break.
2021-01-06 11:58:08 +01:00
b600f62ab6
Add unix specific integration test about running bat without any arguments
2021-01-05 18:21:16 +01:00
ace655e164
Add integration tests for clircle cycle detection
2021-01-05 18:21:16 +01:00
21ae26cb17
Add cycle detection with clircle, now v0.2
2021-01-05 18:21:16 +01:00
478233f795
Merge remote-tracking branch 'origin/master' into fix-1063
2021-01-04 21:02:51 +01:00
e87c554ccd
tests: Make mocked pagers work on Windows
2021-01-04 20:22:04 +01:00
df33ed05dd
Run PATH-dependent tests serially
...
Since PATH is a shared resource.
2021-01-04 15:45:57 +01:00
c9efdd68ed
Add integration tests for 'more' and 'most' used as pagers
2021-01-04 10:30:55 +01:00
8381945cb5
Update formatting
2021-01-03 21:18:54 +01:00
2046b47739
Move "diagnostics" part to the bottom of the bug report template
2021-01-03 21:16:56 +01:00
0c302f088a
Update bug_report.md
2021-01-03 21:16:56 +01:00
a41db63907
Update bug_report.md
2021-01-03 21:16:56 +01:00