]> git.openstreetmap.org Git - chef.git/blob - .github/workflows/test-kitchen.yml
Merge remote-tracking branch 'github/pull/528'
[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-22.04
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           - community
28           - db-backup
29           - db-base
30           - db-master
31           - db-slave
32           - devices
33           - dhcpd
34           - dmca
35           - dns
36           - docker
37           - donate
38           - elasticsearch
39           - exim
40           - fail2ban
41           - forum
42           - ftp
43           - geodns
44           - geoipupdate
45           - git
46           - git-server
47           - git-web
48           - gps-tile
49           - hardware
50           - hot
51           - incron
52           - irc
53           - kibana
54           - letsencrypt
55           - logstash
56           - logstash-forwarder
57           - mail
58           - mailman
59           - matomo
60           - memcached
61           - munin
62           - munin-plugins
63           - munin-server
64           - mysql
65           - networking
66           - nginx
67           - nodejs
68           - nominatim
69           - ntp
70           - openssh
71           - osmosis
72           - osqa
73           - otrs
74           - overpass
75           - passenger
76           - php
77           - php-apache
78           - php-fpm
79           - planet
80           - planet-current
81           - planet-dump
82           - planet-notes
83           - planet-replication
84           - postgresql
85           - prometheus
86           - prometheus-server
87           - python
88           - rsyncd
89           - serverinfo
90           - snmpd
91           - spamassassin
92           - ssl
93           - stateofthemap
94           - stateofthemap-jekyll
95           - stateofthemap-static
96           - stateofthemap-wordpress
97           - subversion
98           - supybot
99           - switch2osm
100           - sysctl
101           - sysfs
102           - taginfo
103           - tile
104           - tilelog
105           - tools
106           - trac
107           - web-cgimap
108           - web-frontend
109           - web-rails
110           - wordpress
111           - wiki
112         os:
113           - ubuntu-2204
114         include:
115           - os: ubuntu-2004
116             suite: mailman
117           - os: ubuntu-2004
118             suite: osqa
119         exclude:
120           - suite: mailman
121             os: ubuntu-2204
122           - suite: osqa
123             os: ubuntu-2204
124       fail-fast: false
125     steps:
126     - name: Check out code
127       uses: actions/checkout@v3
128     - name: Setup ruby
129       uses: ruby/setup-ruby@v1
130       with:
131         ruby-version: 3.1
132         bundler-cache: true
133     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
134       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}