From 0020b1663f2c38eae57d1398bebd1176716b48cf Mon Sep 17 00:00:00 2001 From: Ivo Valchev Date: Fri, 27 Nov 2020 15:09:06 +0100 Subject: [PATCH] Update behavioural_tests.yaml --- .github/workflows/behavioural_tests.yaml | 64 ++++++++++++------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/behavioural_tests.yaml b/.github/workflows/behavioural_tests.yaml index af6b269f..75882275 100644 --- a/.github/workflows/behavioural_tests.yaml +++ b/.github/workflows/behavioural_tests.yaml @@ -1,31 +1,31 @@ -__nodes: - prepare_environment: &prepare_environment - name: Prepare environment - run: | - # build assets - sudo chmod -R 777 config/ public/files/ public/theme/ public/thumbs/ var/ - # prepare web server for e2e tests - ./bin/console doctrine:database:create - ./bin/console doctrine:schema:create - ./bin/console doctrine:fixtures:load --group=without-images -n - ./bin/console server:start 127.0.0.1:8088 - # test if web server works - sleep 3 - wget "http://127.0.0.1:8088/bolt/login" - install_dependencies: &install_dependencies - name: Install dependencies - run: | - sudo composer self-update -q - sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress - ./bin/console bolt:info - npm set progress=false - npm ci - mkdir -p ./var/log/e2e-reports/report/features/ - touch ./var/log/e2e-reports/report/features/.gitkeep - # Install latest stable Chrome for e2e tests - sudo apt-get install libxss1 libappindicator1 libindicator7 - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb - sudo apt install ./google-chrome*.deb +#__nodes: +# prepare_environment: &prepare_environment +# name: Prepare environment +# run: | +# # build assets +# sudo chmod -R 777 config/ public/files/ public/theme/ public/thumbs/ var/ +# # prepare web server for e2e tests +# ./bin/console doctrine:database:create +# ./bin/console doctrine:schema:create +# ./bin/console doctrine:fixtures:load --group=without-images -n +# ./bin/console server:start 127.0.0.1:8088 +# # test if web server works +# sleep 3 +# wget "http://127.0.0.1:8088/bolt/login" +# install_dependencies: &install_dependencies +# name: Install dependencies +# run: | +# sudo composer self-update -q +# sudo COMPOSER_MEMORY_LIMIT=-1 COMPOSER_PROCESS_TIMEOUT=60 composer update --prefer-dist --no-progress +# ./bin/console bolt:info +# npm set progress=false +# npm ci +# mkdir -p ./var/log/e2e-reports/report/features/ +# touch ./var/log/e2e-reports/report/features/.gitkeep +# # Install latest stable Chrome for e2e tests +# sudo apt-get install libxss1 libappindicator1 libindicator7 +# wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb +# sudo apt install ./google-chrome*.deb name: API & Behavioural Tests (Behat) @@ -43,8 +43,8 @@ jobs: node-version: ['12.5'] steps: - uses: actions/checkout@v2 - - <<: *install_dependencies - - <<: *prepare_environment +# - <<: *install_dependencies +# - <<: *prepare_environment - name: run API tests run: make behat-api-quiet e2e: @@ -61,8 +61,8 @@ jobs: - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - <<: *install_dependencies - - <<: *prepare_environment +# - <<: *install_dependencies +# - <<: *prepare_environment - name: Install latest Google Chrome (for e2e tests) run: wget -q https://script.install.devinsideyou.com/google-chrome && chmod +x google-chrome