-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (38 loc) · 945 Bytes
/
mops-test.yml
File metadata and controls
40 lines (38 loc) · 945 Bytes
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
name: Backend Motoko Tests
on:
push:
branches:
- main
- master
pull_request:
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