-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (45 loc) · 1.13 KB
/
backend-motoko.yml
File metadata and controls
47 lines (45 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Backend Motoko Tests
on:
push:
branches:
- main
- master
pull_request:
paths:
- backend/mo/**
- 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
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