Skip to content

Commit d81bff0

Browse files
committed
fix test job
1 parent 69a9ff5 commit d81bff0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,9 @@ jobs:
369369
cd test/mini_racer
370370
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-ruby.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
371371
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
372-
docker exec -w "${PWD}/test/mini_racer" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle install
373-
docker exec -w "${PWD}/test/mini_racer" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake compile
374-
docker exec -w "${PWD}/test/mini_racer" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake test
372+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle install
373+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake compile
374+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake test
375375
test-darwin:
376376
strategy:
377377
fail-fast: false
@@ -484,6 +484,6 @@ jobs:
484484
cd test/mini_racer
485485
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-linux.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
486486
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
487-
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install
488-
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake compile
489-
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake test
487+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle install
488+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake compile
489+
docker exec -w "${PWD}" -e BUNDLE_FORCE_RUBY_PLATFORM=y ${{ steps.container.outputs.id }} bundle exec rake test

0 commit comments

Comments
 (0)