From c8c9cbd3097683dbce380db46029202eb5af5607 Mon Sep 17 00:00:00 2001 From: Colin Mollenhour Date: Wed, 11 Jan 2023 00:46:03 -0500 Subject: [PATCH] Migrate MTF from Travis to Github Actions. 9th attempt. --- .github/workflows/mtf.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mtf.yml b/.github/workflows/mtf.yml index 74070daccaec..b0fcfa67b689 100644 --- a/.github/workflows/mtf.yml +++ b/.github/workflows/mtf.yml @@ -109,10 +109,12 @@ jobs: sudo cp robots.txt.sample robots.txt sudo chown -R www-data:www-data var media sudo a2enmod rewrite proxy proxy_fcgi + sudo a2enconf php${{ env.PHP_VERSION}}-fpm.conf sudo apache2ctl -t sudo systemctl restart apache2 curl --no-progress-meter http://$MAGENTO_HOST_NAME/robots.txt - curl --no-progress-meter http://$MAGENTO_HOST_NAME + curl --no-progress-meter http://$MAGENTO_HOST_NAME/index.php + curl --no-progress-meter http://$MAGENTO_HOST_NAME/ - name: Setup and check MTF working-directory: ./dev/tests/functional @@ -124,6 +126,12 @@ jobs: cd ./utils #php -f mtf troubleshooting:check-all + - name: Check Selenium server + run: | + curl --no-progress-meter http://selenium:4444/wd/hub + curl --no-progress-meter http://localhost:4444/wd/hub + curl --no-progress-meter http://127.0.0.1:4444/wd/hub + - name: Run Magento Test Framework test suite uses: GabrielBB/xvfb-action@v1 with: