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 dc35bcb commit a199bcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
with:
command: "create-project --repository-url=https://repo.magento.com/ magento/project-community-edition:2.4.5 magento"
env:
COMPOSER_AUTH: '"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}'
COMPOSER_AUTH: '{"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}}'

- name: Change minimum stable to Dev
uses: php-actions/composer@v6
Expand All @@ -87,15 +87,15 @@ jobs:
command: require pagarme/pagarme-magento2-module:dev-${{ github.ref_name }}
working_dir: app/magento
env:
COMPOSER_AUTH: '"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}'
COMPOSER_AUTH: '{"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}}'

- name: Download Mockery
uses: php-actions/composer@v6
with:
command: require mockery/mockery
working_dir: app/magento
env:
COMPOSER_AUTH: '"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}'
COMPOSER_AUTH: '{"http-basic": { "repo.magento.com": { "username": "${{ secrets.MAGENTO_KEY }}", "password": "${{secrets.MAGENTO_SECRET}}"}}}'

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

0 comments on commit a199bcd

Please sign in to comment.