]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/test-kitchen.yml
Merge remote-tracking branch 'github/pull/347'
[chef.git] / .github / workflows / test-kitchen.yml
index 86cf5fb423b0308a0b9b5353fa460554e1526806..32aa19ba0707d1b4549d55ad6c8ee061247788ad 100644 (file)
@@ -25,6 +25,8 @@ jobs:
           - devices
           - dhcpd
           - dmca
+          - dns
+          - docker
           - donate
           - elasticsearch
           - exim
@@ -55,12 +57,16 @@ jobs:
           - networking
           - nginx
           - nodejs
+          - nominatim
           - ntp
           - openssh
           - osmosis
           - osqa
           - otrs
           - passenger
+          - php
+          - php-apache
+          - php-fpm
           - piwik
           - planet
           - planet-current
@@ -68,6 +74,8 @@ jobs:
           - planet-notes
           - planet-replication
           - postgresql
+          - prometheus
+          - prometheus-server
           - python
           - rsyncd
           - serverinfo
@@ -94,15 +102,25 @@ jobs:
           - 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.2
     - name: Cache gems
-      uses: actions/cache@v1
+      uses: actions/cache@v2
       with:
         path: vendor/bundle
         key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }}
@@ -114,7 +132,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 }}