|
11 | 11 | RAILS_ENV: development |
12 | 12 | EMBEDDED_HTTP_SERVER_TIMEOUT: '30' |
13 | 13 | WORKER_SPAWN_TIMEOUT: '15' |
14 | | - CONFIG_DIGEST: d02685daad5f72653e1a4cb618d0e01ce9c0e801e03a3b76109e0d200e373cca |
| 14 | + CONFIG_DIGEST: ded80c0391f5fdf2954ab0fc646368b60605a3474cc0a719ed96c62e07792a5a |
15 | 15 | 'on': |
16 | 16 | push: |
17 | 17 | branches: |
@@ -215,6 +215,51 @@ jobs: |
215 | 215 | run: bundle exec rake |
216 | 216 | needs: |
217 | 217 | - ruby-3-4-default |
| 218 | + ruby-3-4-sidekiq-7-x: |
| 219 | + name: ruby 3.4, sidekiq-7.x |
| 220 | + runs-on: ubuntu-latest |
| 221 | + if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, |
| 222 | + 'full-ci') || contains(github.event.pull_request.labels.*.name, 'sidekiq-7.x') |
| 223 | + services: |
| 224 | + redis: |
| 225 | + image: redis |
| 226 | + ports: |
| 227 | + - 6379:6379 |
| 228 | + options: "--entrypoint redis-server" |
| 229 | + env: |
| 230 | + BUNDLE_GEMFILE: gemfiles/sidekiq-7.x/Gemfile |
| 231 | + steps: |
| 232 | + - name: Checkout |
| 233 | + uses: actions/checkout@v3 |
| 234 | + - name: Setup ruby |
| 235 | + uses: ruby/setup-ruby@v1 |
| 236 | + with: |
| 237 | + ruby-version: '3.4' |
| 238 | + - name: Install APT dependencies |
| 239 | + run: | |
| 240 | + sudo apt-get update |
| 241 | + sudo apt-get install -yq sqlite3 libsqlite3-dev |
| 242 | + - name: Setup cache (bundler) |
| 243 | + uses: actions/cache@v3 |
| 244 | + with: |
| 245 | + path: "${{ github.workspace }}/vendor/bundle" |
| 246 | + key: "${{ runner.os }}-gems-3.4-sidekiq-7.x-${{ hashFiles('gemfiles/sidekiq-7.x/Gemfile.lock') |
| 247 | + }}" |
| 248 | + restore-keys: |- |
| 249 | + ${{ runner.os }}-gems-3.4-sidekiq-7.x- |
| 250 | + ${{ runner.os }}-gems-3.4- |
| 251 | + - name: bundle install |
| 252 | + run: "gem install bundler \nbundle install\n" |
| 253 | + - name: Run tests |
| 254 | + run: | |
| 255 | + bundle exec rake workflow:verify[$CONFIG_DIGEST] |
| 256 | + bundle exec rake |
| 257 | + - name: Run tests (agent disabled) |
| 258 | + env: |
| 259 | + SKYLIGHT_DISABLE_AGENT: 'true' |
| 260 | + run: bundle exec rake |
| 261 | + needs: |
| 262 | + - ruby-3-4-default |
218 | 263 | ruby-3-2-graphql-2-0-17: |
219 | 264 | name: ruby 3.2, graphql-2.0.17 |
220 | 265 | runs-on: ubuntu-latest |
@@ -1008,6 +1053,7 @@ jobs: |
1008 | 1053 | - ruby-3-2-rails-7-1-x-mongo |
1009 | 1054 | - ruby-3-2-elasticsearch-elasticsearch |
1010 | 1055 | - ruby-3-1-sidekiq-5-x |
| 1056 | + - ruby-3-4-sidekiq-7-x |
1011 | 1057 | - ruby-3-2-graphql-2-0-17 |
1012 | 1058 | - ruby-3-1-rails-7-1-x |
1013 | 1059 | - ruby-3-2-rails-7-1-x |
|
0 commit comments