Fix Ajax grid bug: after filtering all mass actions redirect to admin… #302
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hyvä Admin Tests | |
on: [ push, pull_request ] | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
env: | |
MAGENTO_VERSION: '2.4.1' | |
MODULE_NAME: Hyva_Admin | |
COMPOSER_NAME: hyva-themes/module-magento2-admin | |
MAGENTO_MARKETPLACE_USERNAME: ${{ secrets.MAGENTO_MARKETPLACE_USERNAME }} | |
MAGENTO_MARKETPLACE_PASSWORD: ${{ secrets.MAGENTO_MARKETPLACE_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Unit Tests | |
uses: docker://yireo/github-actions-magento-unit-tests:7.4 | |
with: | |
entrypoint: ./build/unit-test-entrypoint.sh | |
integration-tests: | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
services: | |
mysql: | |
image: mysql:5.7 | |
env: | |
MYSQL_ROOT_PASSWORD: root | |
ports: | |
- 3306:3306 | |
options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
es: | |
image: docker.io/wardenenv/elasticsearch:7.8 | |
ports: | |
- 9200:9200 | |
env: | |
'discovery.type': single-node | |
'xpack.security.enabled': false | |
ES_JAVA_OPTS: "-Xms64m -Xmx512m" | |
options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Integration Tests | |
uses: extdn/github-actions-m2/magento-integration-tests/7.4@master | |
with: | |
module_name: Hyva_Admin | |
composer_name: hyva-themes/module-magento2-admin | |
ce_version: '2.4.1' |