Skip to content

Commit

Permalink
create tmp/ferrum in ruby instead outside
Browse files Browse the repository at this point in the history
  • Loading branch information
sebyx07 committed Aug 27, 2024
1 parent fab1ac9 commit 7d22cd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d22cd2

Please sign in to comment.