Skip to content

Commit

Permalink
Migrate MTF from Travis to Github Actions. 9th attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmollenhour committed Jan 11, 2023
1 parent 8cc16aa commit c8c9cbd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/mtf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit c8c9cbd

Please sign in to comment.