Sync master to develop #324
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: Unit Test | |
on: | |
push: | |
branches: [ 'master', 'develop' ] | |
pull_request: | |
branches: [ 'master', 'develop' ] | |
jobs: | |
unit-test: | |
strategy: | |
matrix: | |
php_version: | |
- 7.4 | |
- 8.1 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create folder and file | |
run: | | |
mkdir -p app/etc && cd app/etc && touch vendor_path.php | |
- uses: graycoreio/github-actions-magento2/unit-test@main | |
with: | |
php_version: ${{ matrix.php_version }} | |
composer_auth: ${{ secrets.COMPOSER_AUTH }} |