File tree Expand file tree Collapse file tree 2 files changed +42
-23
lines changed
Expand file tree Collapse file tree 2 files changed +42
-23
lines changed Original file line number Diff line number Diff line change 1+ name : Ruby Test 💎
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ test :
11+ name : 💎 Test with Ruby ${{ matrix.ruby-version }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ ruby-version :
16+ - ' 3.1.7'
17+ - ' 3.2.8'
18+ - ' 3.3.8'
19+ - ' 3.4.4'
20+
21+ runs-on : ubuntu-22.04
22+
23+ steps :
24+ - name : 🔄 Checkout Repository
25+ uses : actions/checkout@v4
26+
27+ - name : 🛠️ Setup Ruby ${{ matrix.ruby-version }}
28+ uses : ruby/setup-ruby@v1
29+ with :
30+ ruby-version : ${{ matrix.ruby-version }}
31+ bundler-cache : true
32+
33+ - name : ☁️ Set up test cloud
34+ run : |
35+ export CLOUDINARY_URL=$(bash tools/get_test_cloud.sh)
36+ echo "CLOUDINARY_URL=$CLOUDINARY_URL" >> $GITHUB_ENV
37+ echo "cloud_name: $(echo $CLOUDINARY_URL | cut -d'@' -f2)"
38+
39+ - name : 🧪 Run tests
40+ run : bundle exec rspec
41+ env :
42+ CLOUDINARY_URL : ${{ env.CLOUDINARY_URL }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments