1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Compare commits

...

4 commits

Author SHA1 Message Date
Matt Jankowski
9b898c029d
Merge 9c8809c90c into 549ab089ee 2024-07-31 11:06:51 +00:00
Matt Jankowski
9c8809c90c Cache per ruby version, but restore from all via keys 2024-07-25 11:49:18 -04:00
Matt Jankowski
d2d939d379 Only cache on latest ruby version run? 2024-07-25 11:32:18 -04:00
Matt Jankowski
f790800fff Add cache for rspec persistence file 2024-07-25 11:32:18 -04:00

View file

@ -137,6 +137,19 @@ jobs:
bin/rails db:setup
bin/flatware fan bin/rails db:test:prepare
- name: Cache RSpec persistence file
uses: actions/cache@v4
with:
path: |
tmp/rspec/examples.txt
key: rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }}
restore-keys: |
rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }}-${{ matrix.ruby-version }}
rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }}
rspec-persistence-${{ github.head_ref || github.ref_name }}
rspec-persistence-main
rspec-persistence
- run: bin/flatware rspec -r ./spec/flatware_helper.rb
- name: Upload coverage reports to Codecov