Skip to content

Merge pull request #105 from emilio/indexmap #264

Merge pull request #105 from emilio/indexmap

Merge pull request #105 from emilio/indexmap #264

Workflow file for this run

name: CI
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Run check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
format:
name: Run fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
submodules: 'true'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
toolchain: stable
args: -- --check
coverage:
name: Code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
with:
submodules: 'true'
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
with:
args: '--ignore-tests'
- name: Upload to codecov.io
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false