Skip to content

Commit aac63d3

Browse files
committed
Update Core dummy path
1 parent 6d9a993 commit aac63d3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,23 +235,23 @@ jobs:
235235

236236
- name: yalc add react-on-rails
237237
if: env.RUN_CORE
238-
run: cd spec/dummy && yalc add react-on-rails
238+
run: cd react_on_rails/spec/dummy && yalc add react-on-rails
239239

240240
- name: Install Node modules with Yarn for Core dummy app
241241
if: env.RUN_CORE
242-
run: cd spec/dummy && yarn install --frozen-lockfile --no-progress --no-emoji
242+
run: cd react_on_rails/spec/dummy && yarn install --frozen-lockfile --no-progress --no-emoji
243243

244244
- name: Save Core dummy app ruby gems to cache
245245
if: env.RUN_CORE
246246
uses: actions/cache@v4
247247
with:
248-
path: spec/dummy/vendor/bundle
248+
path: react_on_rails/spec/dummy/vendor/bundle
249249
key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}
250250

251251
- name: Install Ruby Gems for Core dummy app
252252
if: env.RUN_CORE
253253
run: |
254-
cd spec/dummy
254+
cd react_on_rails/spec/dummy
255255
bundle config set path vendor/bundle
256256
bundle config set frozen true
257257
bundle _2.5.4_ install --jobs=4 --retry=3
@@ -261,7 +261,7 @@ jobs:
261261
run: |
262262
set -e # Exit on any error
263263
echo "🔨 Building production assets..."
264-
cd spec/dummy
264+
cd react_on_rails/spec/dummy
265265
266266
if ! bin/prod-assets; then
267267
echo "❌ ERROR: Failed to build production assets"
@@ -275,7 +275,7 @@ jobs:
275275
run: |
276276
set -e # Exit on any error
277277
echo "🚀 Starting production server..."
278-
cd spec/dummy
278+
cd react_on_rails/spec/dummy
279279
280280
# Start server in background
281281
bin/prod &

spec/performance/bench.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def env_or_default(key, default)
1616

1717
# Benchmark parameters
1818
PRO = ENV.fetch("PRO", "false") == "true"
19-
APP_DIR = PRO ? "react_on_rails_pro/spec/dummy" : "spec/dummy"
19+
APP_DIR = PRO ? "react_on_rails_pro/spec/dummy" : "react_on_rails/spec/dummy"
2020
ROUTES = env_or_default("ROUTES", nil)
2121
BASE_URL = env_or_default("BASE_URL", "localhost:3001")
2222
# requests per second; if "max" will get maximum number of queries instead of a fixed rate

0 commit comments

Comments
 (0)