]> git.openstreetmap.org Git - chef.git/blob - .github/workflows/test-kitchen.yml
trac: remove unused files
[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           - foundation-board
43           - foundation-dwg
44           - foundation-mwg
45           - foundation-owg
46           - foundation-welcome
47           - foundation-wiki
48           - ftp
49           - geodns
50           - geoipupdate
51           - git
52           - git-server
53           - git-web
54           - gps-tile
55           - hardware
56           - hot
57           - incron
58           - irc
59           - kibana
60           - letsencrypt
61           - logstash
62           - logstash-forwarder
63           - mail
64           - mailman
65           - matomo
66           - memcached
67           - munin
68           - munin-plugins
69           - munin-server
70           - mysql
71           - networking
72           - nginx
73           - nodejs
74           - nominatim
75           - ntp
76           - openssh
77           - osmosis
78           - osqa
79           - otrs
80           - overpass
81           - passenger
82           - php
83           - php-apache
84           - php-fpm
85           - planet
86           - planet-current
87           - planet-dump
88           - planet-notes
89           - planet-replication
90           - postgresql
91           - prometheus
92           - prometheus-server
93           - python
94           - rsyncd
95           - serverinfo
96           - snmpd
97           - spamassassin
98           - ssl
99           - stateofthemap
100           - stateofthemap-jekyll
101           - stateofthemap-static
102           - stateofthemap-wordpress
103           - subversion
104           - supybot
105           - switch2osm
106           - sysctl
107           - sysfs
108           - taginfo
109           - tile
110           - tilelog
111           - tools
112           - trac
113           - web-cgimap
114           - web-frontend
115           - web-rails
116           - wordpress
117           - wiki
118         os:
119           - ubuntu-2204
120         include:
121           - os: ubuntu-2004
122             suite: mailman
123           - os: ubuntu-2004
124             suite: osqa
125         exclude:
126           - suite: mailman
127             os: ubuntu-2204
128           - suite: osqa
129             os: ubuntu-2204
130       fail-fast: false
131     steps:
132     - name: Check out code
133       uses: actions/checkout@v3
134     - name: Setup ruby
135       uses: ruby/setup-ruby@v1
136       with:
137         ruby-version: 3.1
138         bundler-cache: true
139     - name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
140       run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
141     - name: Gather journal output
142       run: bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c journalctl --since=yesterday
143       if: ${{ failure() }}