Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LightMotif
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Larralde
LightMotif
Commits
a09e0a61
Commit
a09e0a61
authored
1 year ago
by
Martin Larralde
Browse files
Options
Downloads
Patches
Plain Diff
Setup `test.yml` Actions workflow to measure code coverage
parent
004b99a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/test.yml
+45
-6
45 additions, 6 deletions
.github/workflows/test.yml
README.md
+2
-2
2 additions, 2 deletions
README.md
with
47 additions
and
8 deletions
.github/workflows/test.yml
+
45
−
6
View file @
a09e0a61
...
...
@@ -22,7 +22,7 @@ jobs:
command
:
fmt
args
:
--all -- --check
test
:
name
:
Test (${{ matrix.rust-toolchain }}, ${{ matrix.
features
}})
name
:
Test (${{ matrix.rust-toolchain }}, ${{ matrix.
cpu
}})
runs-on
:
ubuntu-latest
needs
:
lint
strategy
:
...
...
@@ -31,9 +31,9 @@ jobs:
-
stable
-
beta
-
nightly
flags
:
-
"
"
-
"
--target-cpu=native
"
cpu
:
-
"
native
"
-
"
x86-64
"
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v1
...
...
@@ -51,6 +51,45 @@ jobs:
-
name
:
Test code
uses
:
actions-rs/cargo@v1
with
:
env
:
RUSTFLAGS="${{ matrix.
flags
}}"
env
:
RUSTFLAGS="
--target-cpu=
${{ matrix.
cpu
}}"
command
:
test
\ No newline at end of file
cover
:
name
:
Coverage (${{ matrix.cpu }})
runs-on
:
ubuntu-latest
needs
:
test
if
:
"
!startsWith(github.ref,
'refs/tags/v')"
strategy
:
matrix
:
cpu
:
-
"
native"
-
"
x86-64"
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v1
-
name
:
Setup Rust stable
uses
:
actions-rs/toolchain@v1
with
:
profile
:
minimal
toolchain
:
stable
override
:
true
-
name
:
Setup cache for cargo
uses
:
actions/cache@v2
with
:
path
:
target
key
:
${{ runner.os }}-cargo-${{ matrix.rust-toolchain }}
-
name
:
Measure code coverage with ${{ matrix.features }}
uses
:
actions-rs/tarpaulin@v0.1
with
:
env
:
RUSTFLAGS="--target-cpu=${{ matrix.cpu }}"
version
:
'
0.19.0'
args
:
'
--lib
-v
--out
Xml
--ciserver
github-actions'
-
name
:
Upload to Codecov
uses
:
codecov/codecov-action@v3
with
:
flags
:
${{ matrix.cpu }}
env_vars
:
OS
name
:
test-${{ matrix.cpu }}
fail_ci_if_error
:
false
token
:
${{ secrets.CODECOV_TOKEN }}
codecov_curl_args
:
"
--globoff"
verbose
:
true
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
a09e0a61
...
...
@@ -2,7 +2,7 @@
*A lightweight [platform-accelerated](https://en.wikipedia.org/wiki/Single_instruction,_multiple_data) library for [biological motif](https://en.wikipedia.org/wiki/Sequence_motif) scanning using [position weight matrices](https://en.wikipedia.org/wiki/Position_weight_matrix)*
.
[

](https://github.com/althonos/lightmotif/actions)
[

](https://github.com/althonos/lightmotif/actions)
[

](https://choosealicense.com/licenses/mit/)
[

](https://github.com/althonos/lightmotif/)
[

](https://git.embl.de/larralde/lightmotif/)
...
...
@@ -14,7 +14,7 @@
Motif scanning with position weight matrices (also known as position-specific
scoring matrices) is a robust method for identifying motifs of fixed length
inside a biological sequence. They can be used to identify transcription
factor binding sites in DNA, or protease cleavage site in polypeptides
factor binding sites in DNA, or protease cleavage site in polypeptides
.
The
`lightmotif`
library provides a Rust crate to run very efficient
searches for a motif encoded in a position weight matrix. The position
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment