-
Notifications
You must be signed in to change notification settings - Fork 5
44 lines (37 loc) · 848 Bytes
/
ci.yaml
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
name: Tests
on:
pull_request:
push:
branches:
- main
- master
- releases-v*
tags:
- v*
jobs:
tests:
name: Test
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Get Aptos
uses: pontem-network/get-aptos@main
with:
version: latest
token: ${{ secrets.GITHUB_TOKEN }}
prover: false
- name: Build .
run: aptos move compile
working-directory: .
- name: Test
run: aptos move test
working-directory: .
- name: Test ./liquidswap_staking_tests
run: aptos move test
working-directory: ./liquidswap_staking_tests