Skip to content

Commit

Permalink
Remove docker caching from all tests
Browse files Browse the repository at this point in the history
Persisting them takes about 2.5min
  • Loading branch information
bjorn3 committed Oct 9, 2024
1 parent c10a922 commit 0426f7f
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ jobs:
- name: set up docker buildx
run: docker buildx create --name builder --use

- name: cache docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: docker-buildx-rs-${{ github.sha }}
restore-keys: docker-buildx-rs-

- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -38,11 +31,6 @@ jobs:
working-directory: test-framework
run: cargo test -p e2e-tests

- name: prevent the cache from growing too large
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
compliance-tests-og:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -82,13 +70,6 @@ jobs:
- name: set up docker buildx
run: docker buildx create --name builder --use

- name: cache docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: docker-buildx-rs-${{ github.sha }}
restore-keys: docker-buildx-rs-

- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -111,11 +92,6 @@ jobs:
cargo test -p sudo-compliance-tests -- --ignored | tee "$tmpfile"
grep 'test result: FAILED. 0 passed' "$tmpfile" || ( echo "expected ALL tests to fail but at least one passed; the passing tests must be un-#[ignore]-d" && exit 1 )
- name: prevent the cache from growing too large
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
compliance-tests-lint:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 0426f7f

Please sign in to comment.