diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 56d0cc5419..864621e2ec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -201,9 +201,16 @@ jobs: - name: Install Bundler RubyGems run: brew install-bundler-gems - - name: Create parallel test log + - name: Create parallel test log directory run: mkdir tests + - name: Cache parallel tests log + uses: actions/cache@v1 + with: + path: tests/parallel_runtime_rspec.log + key: ${{ runner.os }}-parallel_runtime_rspec.log + restore-keys: ${{ runner.os }}-parallel_runtime_rspec.log + - name: Run brew tests run: | # brew tests doesn't like world writable directories @@ -215,13 +222,6 @@ jobs: - uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 # v1.2.1 - - name: Cache parallel tests log - uses: actions/cache@v1 - with: - path: tests/parallel_runtime_rspec.log - key: ${{ runner.os }}-parallel_runtime_rspec.log - restore-keys: ${{ runner.os }}-parallel_runtime_rspec.log - test-default-formula-linux: name: test default formula (Linux) runs-on: ubuntu-latest @@ -293,6 +293,16 @@ jobs: which svn which svnadmin + - name: Create parallel test log directory + run: mkdir tests + + - name: Cache parallel tests log + uses: actions/cache@v1 + with: + path: tests/parallel_runtime_rspec.log + key: ${{ runner.os }}-parallel_runtime_rspec.log + restore-keys: ${{ runner.os }}-parallel_runtime_rspec.log + - name: Run brew tests run: brew tests --online --coverage env: