Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove github cache saving and restoring from unit tests #4399

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0 # Full history needed for restoring file timestamps

- name: Restore Timestamps
uses: ./.github/actions/restore-git-mtimes
continue-on-error: true

- name: Restore Build Cache
uses: actions/cache/restore@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-build-cache

- name: Prepare
run: ci/prepare/macos/prepare.sh
Expand All @@ -43,15 +31,6 @@ jobs:
id: build
run: ci/build-tests.sh

- name: Save Build Cache
# Only save build cache from develop to avoid polluting it by other branches / PRs
if: github.ref == 'refs/heads/develop' && success()
uses: actions/cache/save@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-build-cache

- name: Core Tests
if: steps.build.outcome == 'success' && (success() || failure())
run: ../ci/tests/run-core-tests.sh
Expand Down Expand Up @@ -90,18 +69,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0 # Full history needed for restoring file timestamps

- name: Restore Timestamps
uses: ./.github/actions/restore-git-mtimes
continue-on-error: true

- name: Restore Build Cache
uses: actions/cache/restore@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache

- name: Prepare
run: sudo -E ci/prepare/linux/prepare.sh
Expand All @@ -110,15 +77,6 @@ jobs:
id: build
run: ci/build-tests.sh

- name: Save Build Cache
# Only save build cache from develop to avoid polluting it by other branches / PRs
if: github.ref == 'refs/heads/develop' && success()
uses: actions/cache/save@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache

- name: Core Tests
if: steps.build.outcome == 'success' && (success() || failure())
run: ../ci/tests/run-core-tests.sh
Expand Down Expand Up @@ -160,18 +118,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0 # full history needed for restoring file timestamps

- name: Restore Timestamps
uses: ./.github/actions/restore-git-mtimes
continue-on-error: true

- name: Restore Build Cache
uses: actions/cache/restore@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-build-cache

- name: Prepare
run: ci/prepare/windows/prepare.ps1
Expand All @@ -181,15 +127,6 @@ jobs:
run: ci/build-tests.sh
shell: bash

- name: Save Build Cache
# only save build cache from develop to avoid polluting it by other branches / PRs
if: github.ref == 'refs/heads/develop' && success()
uses: actions/cache/save@v3
continue-on-error: true
with:
path: build
key: ${{ runner.os }}-build-cache

- name: Core Tests
if: steps.build.outcome == 'success' && (success() || failure())
run: ../ci/tests/run-core-tests.sh
Expand Down
Loading