Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mothsART committed Aug 23, 2024
1 parent f67c285 commit 9daf36e
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: CI

on: [push, pull_request]

env:
RUST_MINVERSION: 1.65.0
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10

jobs:
test:
name: Test
Expand All @@ -11,7 +16,26 @@ jobs:
matrix:
rust:
- stable
- beta
- nightly

features:
- ''

include:
- rust: stable
features: ''
- rust: stable
features: '--features "std"'
- rust: stable
features: '--no-default-features'
- rust: stable
features: '--no-default-features --features "alloc"'
- rust: nightly
features: ''
- rust: nightly
features: '--no-default-features'
- rust: nightly
features: '--no-default-features --features "alloc"'

steps:
- name: Checkout sources
Expand Down Expand Up @@ -39,7 +63,6 @@ jobs:
command: test
args: --verbose ${{ matrix.features }}


coverage:
name: Coverage
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,7 +91,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: tarpaulin
args: --output-dir coverage --out lcov
args: --output-dir coverage --out xml --workspace --exclude benchmarks

- name: Publish to Coveralls
uses: coverallsapp/github-action@master
Expand Down

0 comments on commit 9daf36e

Please sign in to comment.