mirror of
https://github.com/composewell/streamly.git
synced 2024-09-11 19:47:10 +03:00
Enable hlint for tests and benchmarks
This commit is contained in:
parent
a1111f33b2
commit
d6771a2807
@ -354,24 +354,8 @@ jobs:
|
||||
name: Hlint src
|
||||
environment:
|
||||
BUILD: cabal-v2
|
||||
HLINT_OPTIONS: lint
|
||||
HLINT_TARGETS: src
|
||||
command: |
|
||||
bash -c "$PACKCHECK $BUILD"
|
||||
- *save
|
||||
hlint-test-benchmarks:
|
||||
<<: *env
|
||||
executor: amd64-executor
|
||||
steps:
|
||||
- checkout
|
||||
- *preinstall
|
||||
- *restore
|
||||
- run:
|
||||
name: Hlint tests and benchmarks
|
||||
environment:
|
||||
BUILD: cabal-v2
|
||||
HLINT_OPTIONS: lint
|
||||
HLINT_TARGETS: test benchmarks
|
||||
HLINT_OPTIONS: lint --cpp-include=src --cpp-include=test
|
||||
HLINT_TARGETS: src test benchmark
|
||||
command: |
|
||||
bash -c "$PACKCHECK $BUILD"
|
||||
- *save
|
||||
@ -400,5 +384,3 @@ workflows:
|
||||
name: GHC 8.10.2 + inspection + coverage + Werror
|
||||
- hlint-src:
|
||||
name: Hlint src
|
||||
- hlint-test-benchmarks:
|
||||
name: Hlint tests and benchmarks
|
||||
|
@ -16,5 +16,48 @@ src/Streamly/Internal/Data/SmallArray/Types.hs
|
||||
src/Streamly/Internal/Unicode/Stream.hs
|
||||
src/Streamly/Internal/Data/IORef/Prim.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/Types.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/Mut/Types.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/MutTypesInclude.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/Pinned/Mut/Types.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/Pinned/Types.hs
|
||||
src/Streamly/Internal/Data/Array/Prim/TypesInclude.hs
|
||||
test/Streamly/Test/Common/Array.hs
|
||||
test/Streamly/Test/Data/Array.hs
|
||||
test/Streamly/Test/Data/Array/Prim.hs
|
||||
test/Streamly/Test/Data/Array/Prim/Pinned.hs
|
||||
test/Streamly/Test/Data/Array/Storable/Foreign.hs
|
||||
test/Streamly/Test/Data/Fold.hs
|
||||
test/Streamly/Test/Data/Parser.hs
|
||||
test/Streamly/Test/Data/Parser/ParserD.hs
|
||||
test/Streamly/Test/Data/SmallArray.hs
|
||||
test/Streamly/Test/Data/Unfold.hs
|
||||
test/Streamly/Test/FileSystem/Event.hs
|
||||
test/Streamly/Test/Prelude/Concurrent.hs
|
||||
test/Streamly/Test/Prelude/Fold.hs
|
||||
test/Streamly/Test/Prelude/Rate.hs
|
||||
test/Streamly/Test/Prelude/Serial.hs
|
||||
test/Streamly/Test/Unicode/Stream.hs
|
||||
benchmark/lib/Streamly/Benchmark/Common.hs
|
||||
benchmark/lib/Streamly/Benchmark/Common/Handle.hs
|
||||
benchmark/lib/Streamly/Benchmark/Prelude.hs
|
||||
benchmark/NanoBenchmarks.hs
|
||||
benchmark/Streamly/Benchmark/Data/Array.hs
|
||||
benchmark/Streamly/Benchmark/Data/ArrayOps.hs
|
||||
benchmark/Streamly/Benchmark/Data/NestedUnfoldOps.hs
|
||||
benchmark/Streamly/Benchmark/Data/Parser.hs
|
||||
benchmark/Streamly/Benchmark/Data/Parser/ParserD.hs
|
||||
benchmark/Streamly/Benchmark/Data/Stream/StreamDK.hs
|
||||
benchmark/Streamly/Benchmark/Data/Stream/StreamK.hs
|
||||
benchmark/Streamly/Benchmark/Data/Unfold.hs
|
||||
benchmark/Streamly/Benchmark/FileSystem/Handle.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Async.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Parallel.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Rate.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Exceptions.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Nested.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Split.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/Serial/Transformation1.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/WAsync.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/ZipAsync.hs
|
||||
benchmark/Streamly/Benchmark/Prelude/ZipSerial.hs
|
||||
benchmark/Streamly/Benchmark/Unicode/Stream.hs
|
||||
|
Loading…
Reference in New Issue
Block a user