blob: 8aa2c52bbff37d2c53cc3d89de93ed9d20c50f6c (
plain)
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
|
name: ci
on: [push, pull_request]
jobs:
test_validator:
name: test validator
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [pinned, stable, nightly]
include:
- build: pinned
os: ubuntu-18.04
rust: 1.36.0
- build: stable
os: ubuntu-18.04
rust: stable
- build: nightly
os: ubuntu-18.04
rust: nightly
steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- name: Build System Info
run: rustc --version
- name: tests validator with all features
run: cd validator && cargo test --all-features
- name: tests validator with no features
run: cd validator && cargo test --no-default-features
test_validator_derive:
name: test validator_derive
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- name: tests validator_derive with all features
run: cd validator_derive && cargo test --all-features
|