From 42f8f4fdcbc01ebc7a5d81275c96c690a0586af9 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 15 Apr 2021 21:04:09 +0200 Subject: [PATCH] ci: remove stack-test-memory --- .circleci/config.yml | 51 -------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 10fe8b5e8..43d91a3cc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,50 +68,6 @@ jobs: command: | test/create_test_db "postgres://circleci@localhost" postgrest_test stack test - # Run memory usage tests based on stack and docker. - stack-test-memory: - docker: - - image: cimg/base:2021.03 - environment: - - PGHOST=localhost - - TERM=xterm - - image: circleci/postgres:12 - environment: - - POSTGRES_USER=circleci - - POSTGRES_DB=circleci - - POSTGRES_HOST_AUTH_METHOD=trust - steps: - - checkout - - restore_cache: - keys: - - v1-stack-prof-dependencies-{{ checksum "postgrest.cabal" }}-{{ checksum "stack.yaml" }} - - run: - name: install stack & dependencies - command: | - curl -L https://github.com/commercialhaskell/stack/releases/download/v2.3.1/stack-2.3.1-linux-x86_64.tar.gz | tar zx -C /tmp - sudo mv /tmp/stack-2.3.1-linux-x86_64/stack /usr/bin - sudo apt-get update - sudo apt-get install -y libgmp-dev postgresql-client - stack setup - - run: - name: build dependencies with profiling enabled - command: | - stack build --profile -j1 --only-dependencies - - save_cache: - paths: - - "~/.stack" - - ".stack-work" - key: v1-stack-prof-dependencies-{{ checksum "postgrest.cabal" }}-{{ checksum "stack.yaml" }} - - run: - name: install with profiling enabled - command: | - stack install --profile -j1 - - run: - name: run memory usage tests - command: | - export PATH="~/.local/bin:$PATH" - test/create_test_db "postgres://circleci@localhost" postgrest_test test/memory-tests.sh - # Publish a new release. This only runs when a release is tagged (see # workflow below). release: @@ -268,12 +224,6 @@ workflows: only: - /v[0-9]+(\.[0-9]+)*/ - nightly - - stack-test-memory: - filters: - tags: - only: - - /v[0-9]+(\.[0-9]+)*/ - - nightly - nix-build: filters: tags: @@ -292,7 +242,6 @@ workflows: requires: - style-check - stack-test - - stack-test-memory - nix-build - nix-test filters: