Skip to content

Commit 69ef794

Browse files
committed
skip running tests in CircleCI
Tests are already covered by the Github Actions
1 parent d7bdefe commit 69ef794

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.circleci/config.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ defaults: &defaults
5252
- ~/build/.stack-work
5353
- ~/build/ghcide/.stack-work
5454

55-
- run:
56-
name: Test ghcide
57-
# Tests MUST run with -j1, since multiple ghc-mod sessions are not allowed
58-
# command: stack -j 1 --stack-yaml=${STACK_FILE} test ghcide --dump-logs
59-
command: echo "ghcide tests disabled until they got fixed, see https://github.com/mpickering/ghcide/issues/25"
60-
no_output_timeout: 120m
61-
6255
- run:
6356
name: Setup stack eval hie.html
6457
command: cp plugins/hls-eval-plugin/test/testdata/hie-stack.yaml plugins/hls-eval-plugin/test/testdata/hie.yaml
@@ -73,25 +66,19 @@ defaults: &defaults
7366
# work ok, but given that these CircleCI runners aren't the beefiest
7467
# machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
7568
# tell it to go slow and steady.
76-
command: stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun-update" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun"
69+
command: stack --stack-yaml=${STACK_FILE} test --no-run-tests haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun-update" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun"
7770
no_output_timeout: 120m
7871

7972
- run:
8073
name: Test haskell-language-server wrapper-test suite
81-
command: stack --stack-yaml=${STACK_FILE} test haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1"
74+
command: stack --stack-yaml=${STACK_FILE} test --no-run-tests haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1"
8275
no_output_timeout: 30m
8376

8477
- run:
8578
name: Test hls-tactics-plugin
86-
command: stack --stack-yaml=${STACK_FILE} test hls-tactics-plugin:test:tests --dump-logs --test-arguments="-j1"
79+
command: stack --stack-yaml=${STACK_FILE} test --no-run-tests hls-tactics-plugin:test:tests --dump-logs --test-arguments="-j1"
8780
no_output_timeout: 30m
8881

89-
- store_test_results:
90-
path: test-results
91-
92-
- store_artifacts:
93-
path: test-logs
94-
9582
- save_cache:
9683
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
9784
paths: *cache_paths

0 commit comments

Comments
 (0)