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