Skip to content

Commit

Permalink
merge: Merge pull request #1 from St4NNi/feat/hash-algs
Browse files Browse the repository at this point in the history
[feat] Feat/hash algs
  • Loading branch information
St4NNi authored Sep 19, 2023
2 parents a822af8 + f474b3b commit 310e3de
Show file tree
Hide file tree
Showing 21 changed files with 1,017 additions and 272 deletions.
2 changes: 2 additions & 0 deletions .github/actions-rs/grcov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
output-type: lcov
output-file: ./lcov.info
28 changes: 28 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
branches: [main]
pull_request:
name: coverage
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: arduino/setup-protoc@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-fail-fast -- --include-ignored
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
- uses: actions-rs/[email protected]
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
9 changes: 9 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: test_build_push
on: push
jobs:
build: # This does not build the whole proto files for production, it tests if rust / tonic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/*.sketch
/*.gz
/*.fasta
/*.fa
/*.sig
Loading

0 comments on commit 310e3de

Please sign in to comment.