-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (29 loc) · 756 Bytes
/
test.yml
File metadata and controls
38 lines (29 loc) · 756 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
36
37
38
name: Test
on:
pull_request:
push: { branches: master }
jobs:
test:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
matrix: { ruby: ['3.0', '3.1', '3.2'] }
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install OS dependencies
run: sudo apt-get -y install libyaml-dev
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.ruby }}'
bundler-cache: true
- name: Setup Python
uses: actions/setup-python@v4
with: { python-version: '3.10' }
- name: Install python codenamize
run: |
pip3 install codenamize
codenamize --version
- name: Run tests
run: bundle exec rspec