Skip to content

Commit

Permalink
Update testing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Jan 9, 2025
1 parent e1daa4d commit 45230a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ jobs:
test:
name: TYPO3
runs-on: ubuntu-latest
strategy:
matrix:
typo3: [ 10.4, 11.5 ]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: Build/Test/runTests.sh -s composerInstall -t ${{ matrix.typo3 }}
run: Build/Test/runTests.sh -s composerInstall -t 11.5

- name: Run unit tests
run: Build/Test/runTests.sh -s unit
15 changes: 0 additions & 15 deletions Build/Test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ services:
php -S web:8001 -t ${DFGVIEWER_ROOT}
fi
"
solr:
image: docker.io/solr:9
volumes:
- ${DFGVIEWER_ROOT}/Configuration/ApacheSolr/configsets:/var/solr/data/configsets
- ./solr/modules/ocrsearch:/opt/solr/modules/ocrsearch
ports:
- 8983:8983
user: root # run as root to change the permissions of the solr folder
# Change permissions of the solr folder, create a default core and start solr as solr user
command: /bin/sh -c "
chown -R 8983:8983 /var/solr
&& runuser -u solr -- solr-precreate default-core
"
composer_install:
image: docker.io/typo3/core-testing-${DOCKER_PHP_IMAGE}:latest
user: "${HOST_UID}:${HOST_GID}"
Expand All @@ -70,7 +57,6 @@ services:
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
set -x
fi
composer require "kitodo/presentation:@dev"
if [ -z ${TYPO3_VERSION} ]; then
composer install --no-progress --no-interaction;
else
Expand All @@ -82,7 +68,6 @@ services:
links:
- ${DBMS}
- web
- solr
user: "${HOST_UID}:${HOST_GID}"
volumes:
- ${EXTENSIONS_ROOT}:/var/www/extensions/
Expand Down
8 changes: 1 addition & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
"require-dev": {
"phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^9.6.22",
"solarium/solarium": "5.2 - 6.3",
"spatie/phpunit-watcher": "^1.23.6",
"typo3/testing-framework": "^6.16.10"
"typo3/testing-framework": "^7.1.1"
},
"replace": {
"typo3-ter/dfgviewer": "self.version"
Expand All @@ -62,11 +61,6 @@
"Slub\\Dfgviewer\\": "Classes/"
}
},
"autoload-dev": {
"psr-4": {
"Kitodo\\Dlf\\Tests\\": "Tests/"
}
},
"extra": {
"typo3/cms": {
"extension-key": "dfgviewer"
Expand Down

0 comments on commit 45230a9

Please sign in to comment.