misc,tests: Fix caching in daily tests
This commit is contained in:
18
.github/workflows/daily-tests.yaml
vendored
18
.github/workflows/daily-tests.yaml
vendored
@@ -44,13 +44,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore build/NULL cache
|
- name: Restore build/NULL cache
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/NULL
|
path: build/NULL
|
||||||
key: testlib-build-null-${{ hashFiles('src/**') }}
|
key: testlib-build-null-${{ hashFiles('src/**') }}
|
||||||
|
|
||||||
- name: Restore build/ALL cache
|
- name: Restore build/ALL cache
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ hashFiles('src/**') }}
|
key: testlib-build-all-${{ hashFiles('src/**') }}
|
||||||
@@ -68,20 +68,6 @@ jobs:
|
|||||||
path: tests/testing-results
|
path: tests/testing-results
|
||||||
retention-days: 7
|
retention-days: 7
|
||||||
|
|
||||||
- name: Save build/NULL cache
|
|
||||||
uses: actions/cache/save@v4
|
|
||||||
if: ${{ hashFiles('build/NULL/') != '' }}
|
|
||||||
with:
|
|
||||||
path: build/NULL
|
|
||||||
key: testlib-build-null-${{ hashFiles('src/**') }}
|
|
||||||
|
|
||||||
- name: Save build/ALL cache
|
|
||||||
uses: actions/cache/save@v4
|
|
||||||
if: ${{ hashFiles('build/ALL/') != '' }}
|
|
||||||
with:
|
|
||||||
path: build/ALL
|
|
||||||
key: testlib-build-all-${{ hashFiles('src/**') }}
|
|
||||||
|
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
# split library example tests into runs based on Suite UID
|
# split library example tests into runs based on Suite UID
|
||||||
|
|||||||
Reference in New Issue
Block a user