Skip to content

Commit

Permalink
Revert Install git
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 28, 2023
1 parent d4a8e07 commit 033d2bd
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
matrix:
magento_version: [2.4.6]
steps:
- name: Install git
run: sudo apt-get install -y git
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
Expand All @@ -54,6 +52,16 @@ jobs:
php-version: "8.2"
- name: 'Configure our repo'
working-directory: magento
run: |
vendor/bin/composer config repositories.sequra/magento2-core vcs git@github.com:sequra/magento2-core.git
vendor/bin/composer require sequra/magento2-core:"dev-${{ steps.extract_branch.outputs.branch }}" --no-update
- name: 'debug'
run: cat magento/composer.json

- name: 'launch magento2 unit test'
if: always()
uses: MAD-I-T/magento-actions@v3.25
env:
COMPOSER_AUTH: |
{
Expand All @@ -67,18 +75,6 @@ jobs:
"github.com": "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"
}
}
run: |
vendor/bin/composer config repositories.sequra/magento2-core vcs git@github.com:sequra/magento2-core.git
vendor/bin/composer require sequra/magento2-core:"dev-${{ steps.extract_branch.outputs.branch }}"
- name: 'debug'
run: cat magento/composer.json

- name: 'launch magento2 unit test'
if: always()
uses: MAD-I-T/magento-actions@v3.25
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
with:
process: 'unit-test'
unit_test_subset_path: 'vendor/sequra/magento2-core/Test/Unit'
Expand Down

0 comments on commit 033d2bd

Please sign in to comment.