cache mac acceptance image

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2021-03-23 15:03:25 -04:00
parent 3ef30f99be
commit 8854d83934
2 changed files with 16 additions and 2 deletions
+15 -1
View File
@@ -99,6 +99,13 @@ jobs:
- name: Run unit tests
run: make unit
# TODO: remove me
- uses: actions/upload-artifact@v2
if: failure()
with:
name: unit-test-cache
path: syft/file/test-fixtures/cache
- uses: actions/upload-artifact@v2
with:
name: unit-test-results
@@ -207,7 +214,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: branchmark-test-results
name: benchmark-test-results
path: test/results/**/*
- name: Update PR benchmark results comment
@@ -302,6 +309,13 @@ jobs:
name: artifacts
path: snapshot
- name: Restore docker image cache
id: go-cache
uses: actions/cache@v2.1.3
with:
path: /tmp/image.tar
key: ${{ runner.os }}-${{ hashFiles('test/acceptance/mac.sh') }}
- name: Run Acceptance Tests (Mac)
run: make acceptance-mac