Skip to content

Commit 488e986

Browse files
committed
minor #3041 Rename test_apps to apps (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- Rename `test_apps` to `apps` | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | no <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Update/add documentation as required (we can help!) - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 0e1ffcf Rename `test_apps` to `apps`
2 parents bf98d39 + 0e1ffcf commit 488e986

File tree

148 files changed

+14
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+14
-14
lines changed

.github/build-packages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Symfony\Component\Finder\Finder;
1010

1111
$finder = (new Finder())
12-
->in([__DIR__.'/../src/*/', __DIR__.'/../src/*/src/Bridge/*/', __DIR__.'/../ux.symfony.com/', __DIR__.'/../test_apps/*/'])
12+
->in([__DIR__.'/../src/*/', __DIR__.'/../src/*/src/Bridge/*/', __DIR__.'/../ux.symfony.com/', __DIR__.'/../apps/*/'])
1313
->depth(0)
1414
->name('composer.json')
1515
;

.github/workflows/app-tests.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ jobs:
5151
- name: Install PHP dependencies
5252
uses: ramsey/composer-install@v3
5353
with:
54-
working-directory: test_apps/encore-app
54+
working-directory: apps/encore
5555
dependency-versions: highest
5656

57-
- working-directory: test_apps/encore-app
57+
- working-directory: apps/encore
5858
run: npm install --install-links
5959

6060
- if: matrix.ux-packages-source == 'js-packages'
6161
name: Install UX JS packages with a JS package manager
62-
working-directory: test_apps/encore-app
62+
working-directory: apps/encore
6363
run: |
6464
PACKAGES_TO_INSTALL=''
6565
for PACKAGE_DATA in $(pnpm ls -r --json --depth -1 | jq 'map(select(.private != true))' | jq -c '.[]'); do
@@ -71,7 +71,7 @@ jobs:
7171
npm add --save-dev --install-links $PACKAGES_TO_INSTALL
7272
7373
- name: Ensure UX packages are installed from "${{ env.EXPECTED_PATTERN }}"
74-
working-directory: test_apps/encore-app
74+
working-directory: apps/encore
7575
run: |
7676
for PACKAGE_DATA in $(cat package.json | jq -c '(.dependencies // {}) + (.devDependencies // {}) | to_entries[] | select(.key | startswith("@symfony/ux-")) | {name: .key, version: .value}'); do
7777
PACKAGE=$(echo $PACKAGE_DATA | jq -r '.name')
@@ -90,9 +90,9 @@ jobs:
9090
EXPECTED_PATTERN: ${{ matrix.ux-packages-source == 'php-vendor' && 'file:vendor/symfony/*' || 'file:../../src/*' }}
9191

9292
- name: Ensure project can be built in dev mode
93-
working-directory: test_apps/encore-app
93+
working-directory: apps/encore
9494
run: npm run dev
9595

9696
- name: Ensure project can be built in prod mode
97-
working-directory: test_apps/encore-app
97+
working-directory: apps/encore
9898
run: npm run build

.github/workflows/browser-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,19 @@ jobs:
6969

7070
- name: Start Docker containers
7171
run: docker compose up -d --build
72-
working-directory: test_apps/e2e-app
72+
working-directory: apps/e2e
7373

7474
- name: Configure E2E app
7575
run: |
7676
echo 'APP_ENV=prod' >> .env.local
7777
echo 'APP_DEBUG=0' >> .env.local
7878
echo 'APP_SECRET=df4c071596e64cc75a349456f2887ae2419ae650' >> .env.local
79-
working-directory: test_apps/e2e-app
79+
working-directory: apps/e2e
8080

8181
- name: Install E2E PHP dependencies
8282
uses: ramsey/composer-install@v3
8383
with:
84-
working-directory: test_apps/e2e-app
84+
working-directory: apps/e2e
8585
dependency-versions: highest
8686
composer-options: --no-dev
8787
custom-cache-suffix: symfony-${{ matrix.symfony }}
@@ -92,11 +92,11 @@ jobs:
9292
symfony composer dump-env
9393
symfony console asset-map:compile
9494
symfony console ux:icons:warm-cache
95-
working-directory: test_apps/e2e-app
95+
working-directory: apps/e2e
9696

9797
- name: Start E2E app
9898
run: symfony serve --daemon
99-
working-directory: test_apps/e2e-app
99+
working-directory: apps/e2e
100100

101101
- name: Run browser tests
102102
run: pnpm run test:browser
@@ -115,5 +115,5 @@ jobs:
115115
if: ${{ always() && steps.browser-tests.conclusion == 'failure' }}
116116
with:
117117
name: Symfony logs (${{ matrix.symfony }})
118-
path: test_apps/e2e-app/var/log/
118+
path: apps/e2e/var/log/
119119
retention-days: 7
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)