Skip to content

Commit

Permalink
Update development.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jan 28, 2025
1 parent 106f168 commit ca7ffeb
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,24 +71,24 @@ jobs:

- name: Install module
run: |
docker-compose exec -T \
docker compose exec -T \
php composer config repositories.${{ env.PACKAGE_NAME }} \
--json '{"type":"path", "url":"./test-module", "options": {"symlink": true}}'
docker-compose exec -T \
docker compose exec -T \
php composer require ${{ env.PACKAGE_NAME }}:* --no-interaction --no-update
- name: Install dependencies and reset shop
run: |
docker-compose exec -T php composer update --no-interaction
docker-compose exec -T php composer require vlucas/phpdotenv --no-interaction --dev
docker-compose exec -T php php vendor/bin/reset-shop
docker compose exec -T php composer update --no-interaction
docker compose exec -T php composer require vlucas/phpdotenv --no-interaction --dev
docker compose exec -T php php vendor/bin/reset-shop
- name: Put module settings
continue-on-error: true
run: |
mkdir -p source/var/configuration/environment/
echo "${{ secrets.MODULE_SETTINGS }}" > source/var/configuration/environment/1.yaml
docker-compose exec -T php php bin/oe-console oe:module:apply-configuration
docker compose exec -T php php bin/oe-console oe:module:apply-configuration
- name: Create .env-file
continue-on-error: true
Expand All @@ -98,7 +98,7 @@ jobs:
- name: Stop containers
run: |
docker-compose down
docker compose down
sleep 2
styles:
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Run tests
run: |
docker-compose exec -T \
docker compose exec -T \
-e PARTIAL_MODULE_PATHS=${{ env.MODULE_PATH }} \
-e ACTIVATE_ALL_MODULES=1 \
-e RUN_TESTS_FOR_SHOP=0 \
Expand Down Expand Up @@ -224,13 +224,13 @@ jobs:
- name: Install codeception dependencies
run: |
docker-compose exec -T php composer require codeception/module-rest:^1.4.2 --dev --no-update
docker-compose exec -T php composer require codeception/module-phpbrowser:^1.0.2 --dev --no-update
docker-compose exec -T php composer update
docker compose exec -T php composer require codeception/module-rest:^1.4.2 --dev --no-update
docker compose exec -T php composer require codeception/module-phpbrowser:^1.0.2 --dev --no-update
docker compose exec -T php composer update
- name: Run tests
run: |
docker-compose exec -T \
docker compose exec -T \
-e PARTIAL_MODULE_PATHS=${{ env.MODULE_PATH }} \
-e ACTIVATE_ALL_MODULES=1 \
-e RUN_TESTS_FOR_SHOP=0 \
Expand All @@ -241,7 +241,7 @@ jobs:
- name: Stop containers
if: always()
run: |
docker-compose down
docker compose down
sleep 2
- name: Upload log artifact
Expand Down

0 comments on commit ca7ffeb

Please sign in to comment.