Skip to content

Commit

Permalink
[TASK] Update CI Setup (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott authored Nov 17, 2020
1 parent 516976c commit 54d701d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
23 changes: 16 additions & 7 deletions .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ xdebug_enabled: true
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.2"
mysql_version: ""
provider: default
use_dns_when_possible: true
composer_version: "2"


# This config.yaml was created with ddev version v1.15.3
# webimage: drud/ddev-webserver:v1.15.3
# dbimage: drud/ddev-dbserver-mariadb-10.2:v1.15.1
# dbaimage: phpmyadmin/phpmyadmin:5
# This config.yaml was created with ddev version v1.16.0-alpha9
# webimage: drud/ddev-webserver:20201026_hardened
# dbimage: drud/ddev-dbserver-mariadb-10.2:20201026_hardened
# dbaimage: phpmyadmin:5
# However we do not recommend explicitly wiring these images into the
# config.yaml as they may break future versions of ddev.
# You can update this config.yaml using 'ddev config'.
Expand All @@ -30,7 +32,7 @@ use_dns_when_possible: true

# docroot: <relative_path> # Relative path to the directory containing index.php.

# php_version: "7.3" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4"
# php_version: "7.3" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4" "8.0"

# You can explicitly specify the webimage, dbimage, dbaimage lines but this
# is not recommended, as the images are often closely tied to ddev's' behavior,
Expand All @@ -51,17 +53,24 @@ use_dns_when_possible: true

# xdebug_enabled: false # Set to true to enable xdebug and "ddev start" or "ddev restart"
# Note that for most people the commands
# "ddev exec enable_xdebug" and "ddev exec disable_xdebug" work better,
# "ddev xdebug" to enable xdebug and "ddev xdebug off" to disable it work better,
# as leaving xdebug enabled all the time is a big performance hit.

# webserver_type: nginx-fpm # Can be set to apache-fpm or apache-cgi as well
# webserver_type: nginx-fpm # or apache-fpm

# timezone: Europe/Berlin
# This is the timezone used in the containers and by PHP;
# it can be set to any valid timezone,
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# For example Europe/Dublin or MST7MDT

# composer_version: "2"
# if composer_version:"" it will use the current ddev default composer release.
# It can also be set to "1", to get most recent composer v1
# or "2" for most recent composer v2.
# It can be set to any existing specific composer version.
# After first project 'ddev start' this will not be updated until it changes

# additional_hostnames:
# - somename
# - someothername
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
typo3: [ ^9.5, ^10.4 ]
php: [ '7.2', '7.3', '7.4' ]
Expand All @@ -20,9 +21,15 @@ jobs:
uses: actions/checkout@v2

- name: Set up PHP Version ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2

- name: Environment Check
run: |
sudo update-alternatives --set php /usr/bin/php${{ matrix.php }}
php -v
php --version
composer --version
- name: Validate composer.json and composer.lock
run: composer validate
Expand All @@ -32,6 +39,9 @@ jobs:
composer require typo3/cms-core:${{ matrix.typo3 }} --no-progress
git checkout composer.json
- name: Info
run: composer info

- name: CGL
run: composer t3g:cgl

Expand Down

0 comments on commit 54d701d

Please sign in to comment.