-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (35 loc) · 958 Bytes
/
test.yml
File metadata and controls
35 lines (35 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Test
on:
- push
- pull_request
jobs:
test:
name: ${{ matrix.ruby-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "3.4"
steps:
- uses: actions/checkout@v6
- name: Set up Groonga APT repository
run: |
wget https://packages.groonga.org/ubuntu/groonga-apt-source-latest-$(lsb_release --codename --short).deb
sudo -H apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb
sudo -H apt update
sudo -H apt install -y -V groonga-bin
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies to build gems
run: |
bundle install
- name: Test
run: |
bundle exec test/run-test.rb