From e19eb577ab18fed457da84f488e4999c58b06067 Mon Sep 17 00:00:00 2001 From: Lucas DELANIER Date: Wed, 8 Mar 2023 01:09:01 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/.drone.yml b/.drone.yml index d4d7bf0..c637cb3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -124,38 +124,3 @@ blocks: - cache restore server-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),server-node-modules-$SEMAPHORE_GIT_BRANCH,server-node-modules-master - npm test - - name: E2e Tests - task: - env_vars: - - name: NODE_ENV - value: test - - name: CI - value: 'true' - prologue: - commands: - - checkout - - nvm use - - node --version - - npm --version - # Start a Postgres database. On Semaphore, databases run in the same - # environment as your code. - # See https://docs.semaphoreci.com/ci-cd-environment/ubuntu-18.04-image/#databases-and-services - - sem-service start postgres - # With unrestricted sudo access, you can install any additional - # system package: - - sudo apt-get install -y libgtk2.0-0 - jobs: - - name: Client Tests - commands: - - cd src/client - - cache restore client-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),client-node-modules-$SEMAPHORE_GIT_BRANCH,client-node-modules-master - - npx cypress install - - npm run test:e2e - - name: Server Tests - commands: - - cd src/server - - cache restore server-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),server-node-modules-$SEMAPHORE_GIT_BRANCH,server-node-modules-master - - cp ci.env .env - - cp ormconfig.ci.json ormconfig.json - - npm run migrate:up - - npm run test:e2e \ No newline at end of file