Removing E2E test from running in CI (it is run in K8S now)
authorDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 16 Apr 2020 20:31:48 +0000 (22:31 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Thu, 16 Apr 2020 20:36:54 +0000 (22:36 +0200)
.github/workflows/continuous_integration.yml

index eee2755365d1088be1e96e5ff32b402974e88557..a6c86baa8be45c1f9e267fece6bfee214a8eac05 100644 (file)
@@ -65,28 +65,4 @@ jobs:
       - name: "Jasmine"
         run: yarn test
         working-directory: "back"
-  
-  e2e:
-    name: "End to end testing with cypress"
-    
-    runs-on: "ubuntu-latest"
-
-    steps:
-      - name: "Checkout"
-        uses: "actions/checkout@v2.0.0"
 
-      - name: "Init .env"
-        run: "cp .env.template .env"
-
-      - name: "Init containers"
-        run: "docker-compose -f docker-compose.yaml -f docker-compose.ci.yml run --rm wait_app" #start the containers and then wait for the website to be online
-
-      - name: "Run cypress"
-        run: "docker-compose -f docker-compose.yaml -f docker-compose.ci.yml up --exit-code-from cypress cypress" # run cypress in docker-compose and get its exit code
-
-      - name: "Upload the screenshot on test failure"
-        uses: actions/upload-artifact@v1
-        if: failure()
-        with:
-          name: "screenshot"
-          path: "./e2e/cypress/screenshots/spec.js/WorkAdventureGame -- loads (failed).png"
\ No newline at end of file