Skip to content

improve feature handling and revise tests #155

improve feature handling and revise tests

improve feature handling and revise tests #155

Workflow file for this run

on:
push:
branches:
- dev
pull_request:
branches:
- main
- dev
name: Unit
jobs:
build_and_test:
name: xrpl-rust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --no-default-features --features core,all-models,websocket-client,json-rpc-client,std
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- uses: actions-rs/cargo@v1
with:

Check failure on line 34 in .github/workflows/unit_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
command: test
args: --no-default-features --features utils
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features core
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features wallet
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features amount-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features currency-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features ledger-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features request-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features result-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features transaction-models
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features std,websocket-client-std
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features std,websocket-client
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features json-rpc-client-std
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --features std,json-rpc-client