Skip to content

Commit

Permalink
test(lib): add CI job to test with Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung authored and seanmonstar committed Apr 21, 2022
1 parent 8834d5a commit e1138d7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/CI.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
- style
- test
- msrv
- miri
- features
- ffi
- ffi-header
Expand Down Expand Up @@ -124,6 +125,27 @@ jobs:
command: check
args: --features full

miri:
name: Test with Miri
needs: [style]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: miri
override: true

- name: Test
# Can't enable tcp feature since Miri does not support the tokio runtime
run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test --features http1,http2,client,server,stream,nightly

features:
name: features
needs: [style]
Expand Down

1 comment on commit e1138d7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'end_to_end'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: e1138d7 Previous: ffbf610 Ratio
http1_consecutive_x1_both_100kb 146037 ns/iter (± 13566) 69085 ns/iter (± 742) 2.11

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.