Skip to content

Commit

Permalink
chore: DO NOT MERGE
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Oct 2, 2024
1 parent 2eddbb0 commit ad2d4db
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,8 @@ jobs:
run: melos run analyze
- name: Run tests
run: |
mapfile -t packages < <(melos list --parsable --diff=${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }}..${{ github.event.pull_request.head.sha }} --include-dependents | xargs -r -n1 basename)
if [ -z "$packages" ]; then exit 0; fi
packages_glob="$(printf ",%s" "${packages[@]}")"
packages_glob="${packages_glob:1}"
if [ -n "$packages_glob" ]; then
if [[ "$packages_glob" == *"nextcloud"* ]]; then
if [[ "${{ github.event.pull_request.head.repo.full_name }}" == "${{ github.repository }}" ]]; then
export PUSH_IMAGES="1"
fi
./tool/build-dev-container.sh
fi
MELOS_PACKAGES="$packages_glob" melos test
else
./tool/build-dev-container.sh
melos test
fi
./tool/build-dev-container.sh
melos test
- name: Setup Codecov
if: ${{ matrix.dependencies == 'upgrade' }}
Expand Down

0 comments on commit ad2d4db

Please sign in to comment.