forked from aptos-labs/aptos-indexer-processor-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (28 loc) · 922 Bytes
/
tests.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
name: "Tests"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.sha || github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt update && sudo apt install libdw-dev
cargo install cargo-sort
rustup update
rustup toolchain install nightly
working-directory: aptos-indexer-processors-sdk
- name: Build with No Default Features
run: cargo build --no-default-features
working-directory: aptos-indexer-processors-sdk
- name: Run Tests
run: cargo test
working-directory: aptos-indexer-processors-sdk