Comments (1)
Oops, so stupid ^^
I have just remove php-xdedub in my 'test' stage
stages:
- build
- test
variables:
MYSQL_DATABASE: project_name
MYSQL_ROOT_PASSWORD: secret
build:
stage: build
services:
- mysql:5.7
image: chilio/laravel-dusk-ci:stable
script:
# Install composer
- composer install --prefer-dist --no-ansi --no-interaction --no-progress --no-scripts
# Install Node dependencies.
- npm install
# Install jshint
- npm install -g jshint
# Run npm build
- npm run dev
cache:
key: ${CI_BUILD_REF_NAME}
paths:
- vendor
- node_modules
- public
test:
stage: test
cache:
key: ${CI_BUILD_REF_NAME}
paths:
- vendor
- node_modules
- public
policy: pull
services:
- mysql:5.7
image: chilio/laravel-dusk-ci:stable
script:
# Remove php-xdebug
- apt-get purge php-xdebug -y
# Update composer
- composer update --no-scripts
# Copy over testing configuration.
- cp .env.ci.testing .env
# Generate an application key. Re-cache.
- php artisan config:cache
- chmod -R 775 storage
- chmod 775 bootstrap/cache
- chown -R www-data ./
- php artisan key:generate
# Command to check chrome lib
- chrome-system-check
- sleep 10s
# Command to start nginx
- start-nginx-ci-project
# Run database migrations.
- php artisan module:migrate
# Run database seed
- php artisan module:seed
# run laravel tests
- php vendor/bin/phpunit --no-coverage --colors=never --printer=Codedungeon\\PHPUnitPrettyResultPrinter\\Printer
# run frontend tests
- npm test
# run phpcs
- ./vendor/bin/phpcs -p --error-severity=1 --warning-severity=8 --extensions=php
# run jshint
- jshint --show-non-errors public/js/modules/.
artifacts:
paths:
- ./storage/logs # for debugging
- ./tests/Browser/console # for debugging
- ./tests/Browser/screenshots # for debugging
expire_in: 7 days
when: always
from laravel-dusk-ci.
Related Issues (20)
- Dusk result give a false positive HOT 5
- System Chromedriver version HOT 2
- port to github actions HOT 1
- Nodejs 10 not supported HOT 2
- Docker Compose File Example HOT 1
- PHP Warning: Cannot load module 'http' because required module 'propro' is not loaded in Unknown on line 0 HOT 6
- Images may fail when --coverage-text is enabled. HOT 3
- Permission issue HOT 3
- Imagick not found HOT 1
- PHP7.4 | php-imagick extension not found or not enabled HOT 2
- latest update messes with composer HOT 1
- Can you please rebuild all images to get latest ca-certificates HOT 3
- Failed to open storage/logs/laravel.log: Permission denied HOT 3
- Timeouts in gitlab ci/cd HOT 4
- ERROR: Job failed: exit code 1 on GitLab CI HOT 2
- Scripts fail ^M on latest image HOT 4
- [SEVERE]: bind() failed: Cannot assign requested address (99) HOT 2
- Memory limit? HOT 3
- Multiple runners at same time HOT 2
- Laravel 11 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-dusk-ci.