]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
Merge remote-tracking branch 'github/pull/328'
[chef.git] / .github / workflows / test-kitchen.yml
index 613addabd8e243c9f0a693e43f7010a8a3899edd..d8a39bb1985842713f8f09a0e8d57548df424d25 100644 (file)
@@ -25,6 +25,8 @@ jobs:
           - devices
           - dhcpd
           - dmca
+          - dns
+          - docker
           - donate
           - elasticsearch
           - exim
@@ -40,6 +42,7 @@ jobs:
           - hardware
           - hot
           - incron
+          - irc
           - kibana
           - letsencrypt
           - logstash
@@ -54,12 +57,16 @@ jobs:
           - networking
           - nginx
           - nodejs
+          - nominatim
           - ntp
           - openssh
           - osmosis
           - osqa
           - otrs
           - passenger
+          - php
+          - php-apache
+          - php-fpm
           - piwik
           - planet
           - planet-current
@@ -91,16 +98,27 @@ jobs:
           - web-frontend
           - web-rails
           - wordpress
+          - wiki
         os:
-          - ubuntu-1804
+          - ubuntu-2004
+        include:
+          - suite: osqa
+            os: ubuntu-1804
+          - suite: trac
+            os: ubuntu-1804
+        exclude:
+          - suite: osqa
+            os: ubuntu-2004
+          - suite: trac
+            os: ubuntu-2004
       fail-fast: false
     steps:
     - name: Check out code
       uses: actions/checkout@v2
     - name: Setup ruby
-      uses: actions/setup-ruby@v1
+      uses: actions/setup-ruby@v1.1.1
     - name: Cache gems
-      uses: actions/cache@v1
+      uses: actions/cache@v2
       with:
         path: vendor/bundle
         key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }}
@@ -112,7 +130,8 @@ jobs:
         sudo aa-disable /usr/sbin/mysqld
     - name: Install gems
       run: |
-        gem install bundler --version "~> 1.17"
-        bundle install --jobs 4 --retry 3 --deployment
+        gem install bundler
+        bundle config set deployment true
+        bundle install --jobs 4 --retry 3
     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}