diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ef5384..ae7f35e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,9 +32,7 @@ jobs: chrome-version: stable - name: Run tests - run: | - mkdir -p /tmp/ferrum - bundle exec rake + run: bundle exec rake - name: Archive artifacts uses: actions/upload-artifact@v4 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9f94527..9d2c243 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -27,6 +27,8 @@ config.include_context "Global helpers" config.before(:suite) do + FileUtils.rm_rf("/tmp/ferrum") + FileUtils.mkdir_p("/tmp/ferrum") @server = Ferrum::Server.boot end