File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments