Skip to content

[Snyk] Security upgrade webpack-bundle-analyzer from 3.4.1 to 4.3.0 #559

[Snyk] Security upgrade webpack-bundle-analyzer from 3.4.1 to 4.3.0

[Snyk] Security upgrade webpack-bundle-analyzer from 3.4.1 to 4.3.0 #559

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- '6.2'
- master
pull_request:
jobs:
build:
strategy:
matrix:
php: ['7.2', '7.3', '7.4']
runs-on: ubuntu-latest
env:
DEVELOPMENT_BRANCH: master
TEST_SUITES: 'administration storefront checkout content framework profiling migration system elasticsearch docs'
steps:
- name: Clone development
run: git clone -b $DEVELOPMENT_BRANCH https://github.com/shopware/development.git && cd development && rm -rf platform
- name: Clone platform
uses: actions/checkout@v2
with:
path: development/platform
- name: Fix platform for composer
run: |
cd development/platform
git fetch --prune --unshallow
git checkout master
git checkout -
cd ..
git reset --hard @
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer, prestissimo
coverage: none
- name: Start MySQL
run: ./development/platform/.github/setup-db.sh mysql:5.7
- name: Start Elasticsearch
run: ./development/platform/.github/setup-es.sh elastic/elasticsearch:7.1.1
- name: Install Shopware
run: |
cd development
cp platform/.github/.psh.yaml.override .
./psh.phar init-composer
if [[ ! -h vendor/shopware/platform ]]; then echo 'vendor/shopware/platform should be a symlink'; exit 1; fi
nohup php -S localhost:8000 -t public > phpd.log 2>&1 &
./psh.phar init
- name: Run PHPUnit
run: 'cd development; for TEST_SUITE in $TEST_SUITES; do php -d memory_limit=-1 vendor/bin/phpunit --configuration vendor/shopware/platform/phpunit.xml.dist --exclude-group needsWebserver --testsuite "$TEST_SUITE"; done'