File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments