fix(crypto): basic_bls_signing example: use persistent actor and Moto… #400
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backend Motoko Tests | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
paths: | |
- backend/mo/** | |
- backend/rs/canisters/** | |
- Cargo.toml | |
- Cargo.lock | |
- .github/workflows/provision-linux.sh | |
- .github/workflows/provision-darwin.sh | |
- .github/workflows/backend-motoko.yml | |
jobs: | |
backend-motoko-tests-linux: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ZenVoich/setup-mops@v1 | |
with: | |
mops-version: 1 | |
- name: Provision Linux | |
run: bash .github/workflows/provision-linux.sh | |
- name: Run MOPS Test Linux | |
run: | | |
set -eExuo pipefail | |
cd backend/mo/ic_vetkeys | |
mops install | |
mops test | |
cd ../canisters/ic_vetkeys_manager_canister | |
make test | |
cd ../ic_vetkeys_encrypted_maps_canister | |
make test | |
backend-motoko-tests-darwin: | |
runs-on: macos-15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ZenVoich/setup-mops@v1 | |
with: | |
mops-version: 1 | |
- name: Provision Darwin | |
run: bash .github/workflows/provision-darwin.sh | |
- name: Run MOPS Test Darwin | |
run: | | |
set -eExuo pipefail | |
cd backend/mo/ic_vetkeys | |
mops install | |
mops test | |
cd ../canisters/ic_vetkeys_manager_canister | |
make test | |
cd ../ic_vetkeys_encrypted_maps_canister | |
make test |