Skip to content

Commit b8791c2

Browse files
committed
Revert "Temporarily run tests directly, without xcbeautify"
This reverts commit d2f63bc.
1 parent fe4ba02 commit b8791c2

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,27 @@ jobs:
4242
- name: Install unzip (for tests) and zstd (for faster caching)
4343
run: apt-get update && apt-get install -y unzip zstd
4444

45+
- name: Restore .build
46+
if: ${{ !(github.run_attempt > 1) }} # Because maybe the cache is causing issues
47+
id: "restore-cache"
48+
uses: actions/cache/restore@v5
49+
with:
50+
path: .build
51+
key: "spi-debug-build-${{ runner.os }}-${{ github.event.after }}"
52+
restore-keys: "spi-debug-build-${{ runner.os }}-"
53+
54+
- name: Build tests
55+
run: cp .env.testing.template .env.testing && make build-tests
56+
57+
- name: Cache .build
58+
if: steps.restore-cache.outputs.cache-hit != 'true'
59+
uses: actions/cache/save@v5
60+
with:
61+
path: .build
62+
key: "spi-debug-build-${{ runner.os }}-${{ github.event.after }}"
63+
4564
- name: Run tests
46-
run: cp .env.testing.template .env.testing && swift test
65+
run: cp .env.testing.template .env.testing && make run-tests
4766
env:
4867
COLLECTION_SIGNING_PRIVATE_KEY: ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
4968

0 commit comments

Comments
 (0)