Skip to content

Commit

Permalink
cache and test specific
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Oct 22, 2024
1 parent 7e010a7 commit aff24a3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/canister-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-test-canisters-script-${{ hashFiles('rust-toolchain.toml', 'Cargo.lock', '.node-version', 'package-lock.json') }}

- name: "Download II wasm"
uses: actions/download-artifact@v4
Expand All @@ -417,7 +424,14 @@ jobs:
touch dist/index.html
- name: Run tests
run: ./scripts/test-canisters.sh --no-build
run: |
./scripts/test-canisters.sh --no-build should_keep_new_anchor_across_rollback
./scripts/test-canisters.sh --no-build should_issue_same_principal_after_restoring_backup
./scripts/test-canisters.sh --no-build should_add_additional_device_after_ii_upgrade
./scripts/test-canisters.sh --no-build should_keep_entries_across_rollback
./scripts/test-canisters.sh --no-build should_report_daily_active_anchors
./scripts/test-canisters.sh --no-build should_get_different_id_alias_for_different_relying_parties
./scripts/test-canisters.sh --no-build should_get_valid_delegation
######################
# The end-to-end tests #
Expand Down

0 comments on commit aff24a3

Please sign in to comment.