mirror of
https://github.com/mastodon/mastodon
synced 2024-11-30 15:58:14 +09:00
Cache rspec persistence file between CI runs (#31065)
This commit is contained in:
parent
3959f36d19
commit
6eba057e64
13
.github/workflows/test-ruby.yml
vendored
13
.github/workflows/test-ruby.yml
vendored
@ -150,6 +150,19 @@ jobs:
|
|||||||
bin/rails db:setup
|
bin/rails db:setup
|
||||||
bin/flatware fan bin/rails db:test:prepare
|
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
|
- run: bin/flatware rspec -r ./spec/flatware_helper.rb
|
||||||
|
|
||||||
- name: Upload coverage reports to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
|
Loading…
Reference in New Issue
Block a user