Skip to content

Commit d18b5ec

Browse files
committed
Add scheduled workflow for Grape HEAD compatibility testing
Runs weekly (Sundays at midnight UTC) to detect compatibility issues with upcoming Grape releases early.
1 parent ce35677 commit d18b5ec

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/edge.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Edge
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 0' # Every Sunday at midnight UTC
6+
workflow_dispatch: # Allow manual trigger
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
ruby: ['3.3', '3.4']
17+
name: test (ruby=${{ matrix.ruby }}, grape=HEAD)
18+
runs-on: ubuntu-latest
19+
env:
20+
GRAPE_VERSION: HEAD
21+
steps:
22+
- name: Check out branch
23+
uses: actions/checkout@v6
24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby }}
28+
- name: Run rspec wo model parser
29+
run: |
30+
bundle update
31+
bundle exec rspec
32+
- name: Run rspec w entity parser
33+
env:
34+
MODEL_PARSER: grape-swagger-entity
35+
run: |
36+
bundle update
37+
bundle exec rspec
38+
- name: Run rspec w representable parser
39+
env:
40+
MODEL_PARSER: grape-swagger-representable
41+
run: |
42+
bundle update
43+
bundle exec rspec

0 commit comments

Comments
 (0)