strapi-plugin-meilisearch icon indicating copy to clipboard operation
strapi-plugin-meilisearch copied to clipboard

Make e2e tests on all possible environments

Open bidoubiwa opened this issue 4 years ago • 0 comments

As of today tests are only done on strapi start in no-reload mode. It would be better if we tried the following as well

  • strapi develop
  • strapi develope --admin-watch
  • NODE_ENV=production strapi start

I tried adding this to the yaml file as it works locally but at the second tests it fails:

      - name: Test develop admin watch
        uses: cypress-io/github-action@v2
        with:
          build: yarn playground:build
          start: yarn playground:dev
          env: env=watch
      - name: Test develop soft watch
        uses: cypress-io/github-action@v2
        with:
          build: yarn playground:build
          start: yarn playground:dev
          env: env=develop
      - name: Test production
        uses: cypress-io/github-action@v2
        with:
          build: yarn playground:build
          start: yarn playground:dev
          env: env=ci

Maybe they just need to be separated in a different job each?

bidoubiwa avatar Mar 29 '21 20:03 bidoubiwa