Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
example-magento2-project-testing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MET Public
example-magento2-project-testing
Merge requests
!1
Test feature
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Open
Test feature
test-feature
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Open
Test feature
Vadim Justus
requested to merge
test-feature
into
master
Sep 20, 2022
Overview
0
Commits
2
Pipelines
1
Changes
1
0
0
Merge request reports
Viewing commit
bdc740aa
Prev
Next
Show latest version
1 file
+
0
−
69
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bdc740aa
TDMET-5 Test commit to run tests
· bdc740aa
Vadim Justus
authored
Sep 20, 2022
README.md deleted
100755 → 0
+
0
−
69
View file @ b3137ca5
# Setup of MET Example Project Testing
## Preconditions
Before starting with the setup make sure you meet the following requirements:
*
[
valet.sh
](
https://valet.sh
)
must be installed. The following service versions are automatically used with valet.sh:
*
PHP 8.1
*
MariaDB 10.4
*
Elasticsearch 7
*
Composer 2
## Setup
```
bash
valet.sh init-instance
composer tests-setup
```
### Frontend:
*
https://met.test/
### Backend:
*
URL: https://met.test/admin
### Login local
User:
`admin`
Password:
`admin123`
## Build release
Just create a version tag like
`1.0.0`
or
`1.2.3`
to trigger the build-release gitlab-ci job and build a release version
artifact which can later be used for deployments to any environment.
## Deployment
Create a deploy tag like
`deploy/test/1.2.3`
based on your previously tagged release-build version
`1.2.3`
.
## Development
You can use
`../vendor/bin/cache-clean.js -w`
to enable the cache clean watcher.
## Local less compiling
To clean the pub/static folder
*
`../vendor/bin/gulpm2 clean --met`
Triggers the
`bin/magento dev:source-theme:deploy`
task
*
`../vendor/bin/gulpm2 exec --met`
Compiles the less files via gulp to css (js compile)
*
`../vendor/bin/gulpm2 less --met`
Runs all three previous tasks
*
`../vendor/bin/gulpm2 build --met`
## Run tests
-
Static Tests:
`composer static-tests`
-
Unit Tests:
`composer unit-tests`
-
Integration Tests:
`composer integration-tests`
Loading