]> 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 6646f28d09a0d2f8794f7af9d4da1dedd39a07b9..32aa19ba0707d1b4549d55ad6c8ee061247788ad 100644 (file)
@@ -18,20 +18,36 @@ jobs:
           - blogs
           - civicrm
           - clamav
+          - db-backup
+          - db-base
+          - db-master
+          - db-slave
           - devices
           - dhcpd
           - dmca
+          - dns
+          - docker
           - donate
+          - elasticsearch
           - exim
           - fail2ban
           - forum
           - ftp
           - geodns
           - geoipupdate
+          - git
+          - git-server
+          - git-web
           - gps-tile
           - hardware
+          - hot
           - incron
+          - irc
+          - kibana
           - letsencrypt
+          - logstash
+          - logstash-forwarder
+          - mail
           - mailman
           - memcached
           - munin
@@ -41,12 +57,16 @@ jobs:
           - networking
           - nginx
           - nodejs
+          - nominatim
           - ntp
           - openssh
           - osmosis
           - osqa
           - otrs
           - passenger
+          - php
+          - php-apache
+          - php-fpm
           - piwik
           - planet
           - planet-current
@@ -54,34 +74,53 @@ jobs:
           - planet-notes
           - planet-replication
           - postgresql
+          - prometheus
+          - prometheus-server
           - python
           - rsyncd
           - serverinfo
+          - snmpd
           - spamassassin
           - squid
+          - ssl
           - stateofthemap
           - subversion
           - supybot
           - switch2osm
+          - sysctl
+          - sysfs
           - taginfo
           - tile
           - tilecache
+          - tilelog
           - tools
           - trac
           - web-backend
           - web-cgimap
           - 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.2
     - name: Cache gems
-      uses: actions/cache@v1
+      uses: actions/cache@v2
       with:
         path: vendor/bundle
         key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }}
@@ -93,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 }}