|
1 | 1 | name: ExtDN M2 Integration Tests |
2 | | -on: [ push, pull_request ] |
| 2 | +on: [ pull_request ] |
3 | 3 |
|
4 | 4 | jobs: |
| 5 | + mage248: |
| 6 | + name: Magento 2 Integration Tests (Magento v2.4.8) |
| 7 | + runs-on: ubuntu-22.04 |
| 8 | + services: |
| 9 | + mysql: |
| 10 | + image: mariadb:11.4 |
| 11 | + env: |
| 12 | + MYSQL_ROOT_PASSWORD: root |
| 13 | + ports: |
| 14 | + - 3306:3306 |
| 15 | + options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 |
| 16 | + opensearch: |
| 17 | + image: opensearchproject/opensearch:2 |
| 18 | + ports: |
| 19 | + - 9200:9200 |
| 20 | + env: |
| 21 | + 'discovery.type': single-node |
| 22 | + 'plugins.security.disabled': true |
| 23 | + OPENSEARCH_JAVA_OPTS: "-Xms64m -Xmx512m" |
| 24 | + options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3 |
| 25 | + steps: |
| 26 | + - uses: actions/checkout@v2 |
| 27 | + - name: M2 Integration Tests with Magento 2 |
| 28 | + uses: extdn/github-actions-m2/magento-integration-tests/8.4@master |
| 29 | + with: |
| 30 | + module_name: GhoSter_OutOfStockAtLast |
| 31 | + composer_name: ghoster/module-outofstockatlast |
| 32 | + ce_version: 2.4.8 |
| 33 | + block_insecure: false |
5 | 34 | mage247: |
6 | 35 | name: Magento 2 Integration Tests (Magento v2.4.7) |
7 | 36 | runs-on: ubuntu-22.04 |
8 | 37 | services: |
9 | 38 | mysql: |
10 | | - image: mysql:8.0 |
| 39 | + image: mariadb:10.6 |
11 | 40 | env: |
12 | 41 | MYSQL_ROOT_PASSWORD: root |
13 | 42 | ports: |
14 | 43 | - 3306:3306 |
15 | 44 | options: --tmpfs /tmp:rw --tmpfs /var/lib/mysql:rw --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 |
16 | | - es: |
17 | | - image: docker.io/wardenenv/elasticsearch:8.1 |
| 45 | + opensearch: |
| 46 | + image: opensearchproject/opensearch:2 |
18 | 47 | ports: |
19 | 48 | - 9200:9200 |
20 | 49 | env: |
21 | 50 | 'discovery.type': single-node |
22 | | - 'xpack.security.enabled': false |
23 | | - ES_JAVA_OPTS: "-Xms64m -Xmx512m" |
| 51 | + 'plugins.security.disabled': true |
| 52 | + OPENSEARCH_JAVA_OPTS: "-Xms64m -Xmx512m" |
24 | 53 | options: --health-cmd="curl localhost:9200/_cluster/health?wait_for_status=yellow&timeout=60s" --health-interval=10s --health-timeout=5s --health-retries=3 |
25 | 54 | steps: |
26 | 55 | - uses: actions/checkout@v2 |
|
0 commit comments