Skip to content

Commit

Permalink
tests: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiano-mallmann committed Jan 16, 2024
1 parent 1a995fe commit c24e34b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,25 @@ jobs:
- name: Install Magento
uses: php-actions/composer@v6
with:
command: "create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.5 ."
container_workdir: app/magento
command: "create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.5 magento"

- name: Change minimum stable to Dev
uses: php-actions/composer@v6
with:
command: "config minimum-stability dev"
container_workdir: app/magento
working_dir: app/magento

- name: Download Module
uses: php-actions/composer@v6
with:
command: require pagarme/pagarme-magento2-module:dev-${{ github.ref_name }}
container_workdir: app/magento
working_dir: app/magento

- name: Download Mockery
uses: php-actions/composer@v6
with:
command: require mockery/mockery
container_workdir: app/magento
working_dir: app/magento

- name: Run PHP Unit Tests
run: ./vendor/bin/phpunit -c vendor/pagarme/pagarme-magento2-module/phpunit.xml
Expand Down

0 comments on commit c24e34b

Please sign in to comment.