-
Notifications
You must be signed in to change notification settings - Fork 477
43 lines (40 loc) · 967 Bytes
/
edge.yml
File metadata and controls
43 lines (40 loc) · 967 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
39
40
41
42
43
name: Edge
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight UTC
workflow_dispatch: # Allow manual trigger
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ['3.3', '3.4']
name: test (ruby=${{ matrix.ruby }}, grape=HEAD)
runs-on: ubuntu-latest
env:
GRAPE_VERSION: HEAD
steps:
- name: Check out branch
uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Run rspec wo model parser
run: |
bundle update
bundle exec rspec
- name: Run rspec w entity parser
env:
MODEL_PARSER: grape-swagger-entity
run: |
bundle update
bundle exec rspec
- name: Run rspec w representable parser
env:
MODEL_PARSER: grape-swagger-representable
run: |
bundle update
bundle exec rspec