Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
garbast committed Nov 30, 2024
2 parents aa83ad3 + b229c48 commit d836d40
Show file tree
Hide file tree
Showing 34 changed files with 3,319 additions and 824 deletions.
116 changes: 116 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: build

on:
push:
branches: [ develop, main ]
tags: [ '*' ]
pull_request:
branches: [ develop ]

jobs:

resources:
name: Resources tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Lint SCSS
# run: Build/Scripts/additionalTests.sh -s lintScss
#
# - name: Lint Typescript
# run: Build/Scripts/additionalTests.sh -s lintTypescript

- name: Run the xliff lint
run: Build/Scripts/additionalTests.sh -s lintXliff

- name: Test documentation build
run: Build/Scripts/additionalTests.sh -s buildDocumentation

- name: Cleanup
run: |
Build/Scripts/runTests.sh -s clean
Build/Scripts/additionalTests.sh -s clean
testsuite:
name: All php tests
runs-on: ubuntu-latest
strategy:
matrix:
packages:
- php: '8.2'
core: '^13.0'
framework: 'dev-main'
prefer: ''
testpath: 'Tests/Functional'
- php: '8.2'
core: '^13.0'
framework: 'dev-main'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'
- php: '8.3'
core: '^13.0'
framework: 'dev-main'
prefer: ''
testpath: 'Tests/Functional'
- php: '8.3'
core: '^13.0'
framework: 'dev-main'
prefer: '--prefer-lowest'
testpath: 'Tests/Functional'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Lint php
run: |
Build/Scripts/runTests.sh \
-p ${{ matrix.packages.php }} \
-s lintPhp
- name: Composer install
run: |
Build/Scripts/runTests.sh \
-p ${{ matrix.packages.php }} \
-s composerInstall
- name: Composer install core
run: |
Build/Scripts/additionalTests.sh \
-p ${{ matrix.packages.php }} \
-s composerInstallPackage \
-q "typo3/cms-core:${{ matrix.packages.core }}" \
-r " ${{ matrix.packages.prefer }}"
- name: Composer install framework
run: |
Build/Scripts/additionalTests.sh \
-p ${{ matrix.packages.php }} \
-s composerInstallPackage \
-q "typo3/testing-framework:${{ matrix.packages.framework }}" \
-r " --dev ${{ matrix.packages.prefer }}"
- name: Composer validate
run: |
Build/Scripts/runTests.sh \
-p ${{ matrix.packages.php }} \
-s composerValidate
# - name: Functional tests with sqlite
# run: |
# Build/Scripts/runTests.sh \
# -p ${{ matrix.packages.php }} \
# -d sqlite \
# -s functional ${{ matrix.packages.testpath }}
#
# - name: Unit tests with sqlite
# run: |
# Build/Scripts/runTests.sh \
# -p ${{ matrix.packages.php }} \
# -s unit Tests/Unit

- name: Cleanup
run: |
Build/Scripts/runTests.sh -s clean
Build/Scripts/additionalTests.sh -s clean
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
docker run \
--rm --user $(id -u) \
-v ${PWD}:/project \
ghcr.io/typo3-documentation/render-guides:latest render Documentation
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
echo '<html><head><meta http-equiv="refresh" content="0; url=./Index.html" /></head></html>' > Documentation-GENERATED-temp/index.html
touch Documentation-GENERATED-temp/.nojekyll
Expand Down
Loading

0 comments on commit d836d40

Please sign in to comment.