-
Notifications
You must be signed in to change notification settings - Fork 127
46 lines (42 loc) · 1.07 KB
/
protocol.yml
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
39
40
41
42
43
44
45
46
name: Protocol
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
min_version: 2.7
versions: '["debug"]'
test:
needs: ruby-versions
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ruby-version: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
steps:
- uses: actions/checkout@v4
with:
# Set fetch-depth: 10 so that Launchable can receive commits information.
fetch-depth: 10
- name: Set up Launchable
uses: ./.github/actions/launchable/setup
with:
os: ubuntu-latest
test-task: test_protocol
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Set up tests
run: |
bundle exec rake clobber
bundle exec rake compile
- name: Run tests
run: bundle exec rake test_protocol