You've already forked Php-Template
tests
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
Unit Tests:
|
||||
stage: tests
|
||||
needs:
|
||||
- Install Composer Libraries
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: never
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
when: always
|
||||
- when: never
|
||||
stage: test
|
||||
image: siteworxpro/composer
|
||||
script:
|
||||
- echo "Running unit tests..."
|
||||
- composer run tests:unit
|
||||
|
||||
Run License Check:
|
||||
stage: test
|
||||
stage: tests
|
||||
needs:
|
||||
- Install Composer Libraries
|
||||
rules:
|
||||
@@ -26,7 +28,7 @@ Run License Check:
|
||||
- composer run tests:license
|
||||
|
||||
Run Code Lint:
|
||||
stage: test
|
||||
stage: tests
|
||||
needs:
|
||||
- Install Composer Libraries
|
||||
rules:
|
||||
|
||||
Reference in New Issue
Block a user