Skip to content

Commit

Permalink
Add unit tests, DEV-367
Browse files Browse the repository at this point in the history
  • Loading branch information
iranimij committed Feb 12, 2024
1 parent f77e0b5 commit d00591b
Showing 1 changed file with 112 additions and 8 deletions.
120 changes: 112 additions & 8 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,124 @@
name: ExtDN M2 Unit Tests
on: [push]
jobs:
unit-tests:
name: Magento 2 Unit Tests
unit-tests-2-4-4-p6-8-1:
name: Magento 2.4.4-p6 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-unit-tests/7.3@master
- uses: extdn/github-actions-m2/magento-unit-tests/8.1@master
env:
MAGENTO_VERSION: '2.3.4'
- uses: extdn/github-actions-m2/magento-unit-tests/7.3@master
MAGENTO_VERSION: '2.4.4-p6'
integration-tests-2-4-4-p6-7-4:
name: Magento 2.4.4-p6 PHP 7.4 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.4-p6'
integration-tests-2-4-4-p5-7-4:
name: Magento 2.4.4-p5 PHP 7.4 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.4-p5'
integration-tests-2-4-4-p5-8-1:
name: Magento 2.4.4-p5 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.4-p5'
integration-tests-2-4-5-p5-8-1:
name: Magento 2.4.5-p5 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.5-p5'
integration-tests-2-4-5-p5-7-4:
name: Magento 2.4.5-p5 PHP 7.4 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.3.5-p2'
- uses: extdn/github-actions-m2/magento-unit-tests/7.4@master
MAGENTO_VERSION: '2.4.5-p5'
integration-tests-2-4-5-p4-7-4:
name: Magento 2.4.5-p4 PHP 7.4 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/7.4@master
env:
MAGENTO_VERSION: '2.4.5-p4'
integration-tests-2-4-5-p4-8-1:
name: Magento 2.4.5-p4 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.5-p4'
integration-tests-2-4-6-p3-8-1:
name: Magento 2.4.6-p3 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.6-p3'
integration-tests-2-4-6-p3-8-2:
name: Magento 2.4.6-p3 PHP 8.2 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.2@master
env:
MAGENTO_VERSION: '2.4.6-p3'
integration-tests-2-4-6-p2-8-1:
name: Magento 2.4.6-p2 PHP 8.1 Integration Tests
runs-on: ubuntu-latest
env:
MODULE_NAME: CustomGento_YouTubeNoCookie
COMPOSER_NAME: customgento/module-youtube-no-cookie-m2
steps:
- uses: actions/checkout@v4
- uses: extdn/github-actions-m2/magento-integration-tests/8.1@master
env:
MAGENTO_VERSION: '2.4.0'
MAGENTO_VERSION: '2.4.6-p2'

0 comments on commit d00591b

Please sign in to comment.