Skip to content

Commit

Permalink
[build] fix build e2e paths to use installed rector package
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 27, 2023
1 parent 0ed14ec commit 4726d37
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 41 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build_scoped_rector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,3 @@ jobs:
git push --quiet origin main
git tag ${GITHUB_REF#refs/tags/} -m "${GITHUB_REF#refs/tags/}"
git push --quiet origin ${GITHUB_REF#refs/tags/}
# run bare run test
- run: cd remote-repository && composer update && bin/rector list --ansi && cd ..
4 changes: 2 additions & 2 deletions build/target-repository/.github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
coverage: none

-
run: composer install --ansi
run: composer require rector/rector --dev
working-directory: ${{ matrix.directory }}

-
run: ../../bin/rector process --dry-run --ansi
run: vendor/bin/rector process --dry-run --ansi
working-directory: ${{ matrix.directory }}
4 changes: 2 additions & 2 deletions build/target-repository/.github/workflows/e2e_diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
coverage: none

-
run: composer install --ansi
run: composer require rector/rector --dev
working-directory: ${{ matrix.directory }}

-
run: ../../bin/rector --ansi
run: vendor/bin/rector process --dry-run --ansi
working-directory: ${{ matrix.directory }}
2 changes: 1 addition & 1 deletion build/target-repository/.github/workflows/e2e_php72.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- run: sleep 40

-
run: composer install --ansi
run: composer require rector/rector --ansi
working-directory: e2e/reflection-union-php72

-
Expand Down
33 changes: 0 additions & 33 deletions build/target-repository/.github/workflows/e2e_php74.yaml

This file was deleted.

0 comments on commit 4726d37

Please sign in to comment.