-
Notifications
You must be signed in to change notification settings - Fork 9
30 lines (30 loc) · 995 Bytes
/
test-lang-ruby.yml
File metadata and controls
30 lines (30 loc) · 995 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
name: test-lang-ruby
on: [pull_request]
jobs:
lang-ruby-test:
name: "Lang Ruby test (ver: ${{ matrix.ruby-version }}) (os: ${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
ruby-version: ["2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "4.0"]
os: [ubuntu-22.04, macos-26-intel]
include:
- os: ubuntu-22.04
python-version: "3.7.17"
- os: macos-26-intel
python-version: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: setup.py
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- run: make deps-dev
- run: make install-from-pkg-tgz
- run: make lang-ruby-test