X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e4a0595002f1f428a98776070ad4677b6433b46f..b7f94f4028a7e528e474c630580373f9b0479afd:/.github/workflows/test-kitchen.yml diff --git a/.github/workflows/test-kitchen.yml b/.github/workflows/test-kitchen.yml index 16babd429..297d0bbfe 100644 --- a/.github/workflows/test-kitchen.yml +++ b/.github/workflows/test-kitchen.yml @@ -12,25 +12,42 @@ jobs: - accounts - apache - apt + - backup - bind - blog - 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 @@ -40,48 +57,66 @@ jobs: - networking - nginx - nodejs + - nominatim - ntp - openssh - osmosis - osqa - otrs - passenger + - php + - php-apache + - php-fpm - piwik - planet + - planet-current - planet-dump - 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: trac + os: ubuntu-1804 + exclude: + - suite: trac + os: ubuntu-2004 fail-fast: false steps: - name: Check out code - uses: actions/checkout@v1 - with: - fetch-depth: 1 + uses: actions/checkout@v2 - name: Setup ruby - uses: actions/setup-ruby@v1 + uses: actions/setup-ruby@v1.1.3 - name: Cache gems - uses: actions/cache@v1 + uses: actions/cache@v2.1.4 with: path: vendor/bundle key: bundle-${{ runner.OS }}-${{ hashFiles('Gemfile.lock') }} @@ -93,7 +128,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 }}