Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bevy Tweening
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Microhacks
Bevy Forks
Bevy Tweening
Commits
dbac1b7c
Unverified
Commit
dbac1b7c
authored
3 years ago
by
Jerome Humbert
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add coveralls (#4)
Add code coverage via coveralls.io
parent
8dcd3d27
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/ci.yaml
+46
-0
46 additions, 0 deletions
.github/workflows/ci.yaml
README.md
+1
-0
1 addition, 0 deletions
README.md
with
47 additions
and
0 deletions
.github/workflows/ci.yaml
+
46
−
0
View file @
dbac1b7c
...
@@ -48,3 +48,49 @@ jobs:
...
@@ -48,3 +48,49 @@ jobs:
run
:
cargo test
run
:
cargo test
env
:
env
:
CARGO_INCREMENTAL
:
0
CARGO_INCREMENTAL
:
0
coverage
:
name
:
Coverage
runs-on
:
ubuntu-latest
permissions
:
actions
:
read
checks
:
write
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/cache@v2
with
:
path
:
|
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key
:
${{ runner.os }}-cargo-build-stable-${{ hashFiles('**/Cargo.toml') }}
-
uses
:
actions-rs/toolchain@v1
with
:
toolchain
:
stable
override
:
true
-
name
:
Install Bevy dependencies
run
:
sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libxcb-shape0-dev libxcb-xfixes0-dev
if
:
runner.os == 'linux'
-
name
:
Install graphic drivers
run
:
|
sudo apt-get update -y -qq
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
if
:
runner.os == 'linux'
-
name
:
Install cargo-tarpaulin
run
:
|
RUST_BACKTRACE=1 cargo install --version 0.19.1 cargo-tarpaulin
-
name
:
Generate code coverage
run
:
|
RUST_BACKTRACE=1 cargo tarpaulin --verbose --timeout 120 --out Lcov --workspace
ls -la
-
name
:
Upload code coverage
uses
:
coverallsapp/github-action@master
with
:
path-to-lcov
:
'
lcov.info'
github-token
:
${{ secrets.GITHUB_TOKEN }}
This diff is collapsed.
Click to expand it.
README.md
+
1
−
0
View file @
dbac1b7c
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
[

](https://docs.rs/bevy_tweening)
[

](https://docs.rs/bevy_tweening)
[

](https://crates.io/crates/bevy_tweening)
[

](https://crates.io/crates/bevy_tweening)
[

](https://github.com/djeedai/bevy_tweening/actions/workflows/ci.yaml)
[

](https://github.com/djeedai/bevy_tweening/actions/workflows/ci.yaml)
[

](https://coveralls.io/github/djeedai/bevy_tweening?branch=main)
[

](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking)
[

](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking)
Tweening animation plugin for the Bevy game engine.
Tweening animation plugin for the Bevy game engine.
...
...
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