]> git.openstreetmap.org Git - chef.git/blob - .github/workflows/test-kitchen.yml
577297c7b2eaa94bbb93a077f16b8247c6369abd
[chef.git] / .github / workflows / test-kitchen.yml
1 name: Test Kitchen
2
3 on:
4   - push
5   - pull_request
6
7 concurrency:
8   group: ${{ github.workflow }}-{{ github.head_ref || github.ref }}
9   cancel-in-progress: true
10
11 jobs:
12   kitchen:
13     name: Test Kitchen
14     runs-on: ubuntu-latest
15     strategy:
16       matrix:
17         suite:
18           - accounts
19           - apache
20           - apt
21           - backup
22           - bind
23           - blog
24           - blogs
25           - civicrm
26           - clamav
27           - db-backup
28           - db-base
29           - db-master
30           - db-slave
31           - devices
32           - dhcpd
33           - dmca
34           - dns
35           - docker
36           - donate
37           - elasticsearch
38           - exim
39           - fail2ban
40           - forum
41           - ftp
42           - geodns
43           - geoipupdate
44           - git
45           - git-server
46           - git-web
47           - gps-tile
48           - hardware
49           - hot
50           - incron
51           - irc
52           - kibana
53           - letsencrypt
54           - logstash
55           - logstash-forwarder
56           - mail
57           - mailman
58           - memcached
59           - munin
60           - munin-plugins
61           - munin-server
62           - mysql
63           - networking
64           - nginx
65           - nodejs
66           - nominatim
67           - ntp
68           - openssh
69           - osmosis
70           - osqa
71           - otrs
72           - passenger
73           - php
74           - php-apache
75           - php-fpm
76           - piwik
77           - planet
78           - planet-current
79           - planet-dump
80           - planet-notes
81           - planet-replication
82           - postgresql
83           - prometheus
84           - prometheus-server
85           - python
86           - rsyncd
87           - serverinfo
88           - snmpd
89           - spamassassin
90           - ssl
91           - stateofthemap
92           - subversion
93           - supybot
94           - switch2osm
95           - sysctl
96           - sysfs
97           - taginfo
98           - tile
99           - tilelog
100           - tools
101           - trac
102           - web-backend
103           - web-cgimap
104           - web-frontend
105           - web-rails
106           - wordpress
107           - wiki
108         os:
109           - ubuntu-2004
110       fail-fast: false
111     steps:
112     - name: Check out code
113       uses: actions/checkout@v3
114     - name: Setup ruby
115       uses: ruby/setup-ruby@v1
116       with:
117         bundler-cache: true
118     - name: Disable apparmor for mysqld
119       run: |
120         sudo apt-get install apparmor-utils
121         sudo aa-disable /usr/sbin/mysqld
122     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
123       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}