skip running tests in CircleCI

Tests are already covered by the Github Actions
This commit is contained in:
Pepe Iborra 2021-01-03 09:45:59 +00:00
parent d7bdefe88d
commit 193b5a9105

View File

@ -52,13 +52,6 @@ defaults: &defaults
- ~/build/.stack-work
- ~/build/ghcide/.stack-work
- run:
name: Test ghcide
# Tests MUST run with -j1, since multiple ghc-mod sessions are not allowed
# command: stack -j 1 --stack-yaml=${STACK_FILE} test ghcide --dump-logs
command: echo "ghcide tests disabled until they got fixed, see https://github.com/mpickering/ghcide/issues/25"
no_output_timeout: 120m
- run:
name: Setup stack eval hie.html
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
# work ok, but given that these CircleCI runners aren't the beefiest
# machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
# tell it to go slow and steady.
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"
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"
no_output_timeout: 120m
- run:
name: Test haskell-language-server wrapper-test suite
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"
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"
no_output_timeout: 30m
- run:
name: Test hls-tactics-plugin
command: stack --stack-yaml=${STACK_FILE} test hls-tactics-plugin:test:tests --dump-logs --test-arguments="-j1"
command: stack --stack-yaml=${STACK_FILE} test --no-run-tests hls-tactics-plugin:test:tests --dump-logs --test-arguments="-j1"
no_output_timeout: 30m
- store_test_results:
path: test-results
- store_artifacts:
path: test-logs
- save_cache:
key: stack-cache-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }}
paths: *cache_paths
@ -156,3 +143,4 @@ workflows:
- ghc-8.10.1
- ghc-8.10.2
- ghc-8.10.3
- ghc-default