Skip to content

Commit

Permalink
TASK: Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Jul 12, 2024
1 parent 3a28c11 commit 67a0aae
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:
FLOW_TARGET_VERSION: "8.3"
FLOW_CONTEXT: Testing
FLOW_FOLDER: ../flow-base-distribution
PACKAGE_FOLDER: redirect-databasestorage

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
path: ${{ env.PACKAGE_FOLDER }}

- name: Set package branch name
run: echo "PACKAGE_TARGET_VERSION=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
Expand Down Expand Up @@ -48,16 +45,16 @@ jobs:
cd ${FLOW_FOLDER}
ls -la
ls -la ..
# git -C ../${{ env.PACKAGE_FOLDER }} checkout -b build
# composer config repositories.package '{ "type": "path", "url": "../${{ env.PACKAGE_FOLDER }}", "options": { "symlink": false } }'
# composer require --no-update --no-interaction neos/redirecthandler-databasestorage:"dev-build as ${PACKAGE_TARGET_VERSION}.x-dev"
git -C ../redirecthandler-databasestorage checkout -b build
composer config repositories.package '{ "type": "path", "url": "../${{ env.PACKAGE_FOLDER }}", "options": { "symlink": false } }'
composer require --no-update --no-interaction neos/redirecthandler-databasestorage:"dev-build as ${PACKAGE_TARGET_VERSION}.x-dev"
- name: Install distribution
run: |
cd ${FLOW_FOLDER}
composer install --no-interaction --no-progress
rm -rf Packages/Application/Neos.RedirectHandler.DatabaseStorage
cp -r ../redirecthandler-databasestorage Packages/Application/Neos.RedirectHandler.DatabaseStorage
# - name: Install distribution
# run: |
# cd ${FLOW_FOLDER}
# composer install --no-interaction --no-progress
# rm -rf Packages/Application/Neos.RedirectHandler.DatabaseStorage
# cp -r ../redirecthandler-databasestorage Packages/Application/Neos.RedirectHandler.DatabaseStorage

- name: Run Unit tests
run: |
Expand Down

0 comments on commit 67a0aae

Please sign in to comment.