Skip to content

Commit

Permalink
feat: add typoscript-lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider authored Mar 19, 2024
1 parent 29629f6 commit b3211b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ include:
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-php-stan.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-php-unit.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-php-functional.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-typoscript-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-xml-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/gitlab-templates/main/test-yaml-lint.yml'
```
Expand All @@ -31,6 +32,7 @@ include:
* `test-php-stan`
* `test-php-unit`
* `test-php-functional`
* `test-typoscript-lint`
* `test-xml-lint`
* `test-yaml-lint`

Expand Down
12 changes: 12 additions & 0 deletions test-typoscript-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
test-typoscript-lint:
stage: test
needs: [ "build-php" ]
cache:
paths: [ ]
before_script: [ ]
script:
- composer run ci:typoscript:lint
rules:
- if: $RESET_JOB == 'true'
when: never
- if: $CI_COMMIT_AUTHOR != 'Renovate Bot <[email protected]>' || $CI_COMMIT_BRANCH !~ /^renovate.*$/

0 comments on commit b3211b1

Please sign in to comment.