mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
Integrate codecov on CI
This commit is contained in:
1 parent
84eac75f71
commit
a37c37b8f5
3 files changed
+30
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Lazy jobs running on master post merges.
|
||||
name: lazy
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
coverage:
|
||||
name: Coverage
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Generate report
|
||||
uses: actions-rs/tarpaulin@v0.1
|
||||
with:
|
||||
args: '--tests --all-features'
|
||||
- name: Upload to codecov.io
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: code-coverage-report
|
||||
path: cobertura.xml
|
||||
@@ -1,3 +1,4 @@
|
||||
# Regular testing.
|
||||
name: pipeline
|
||||
on: [push, pull_request]
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[](https://crates.io/crates/naga)
|
||||
[](https://docs.rs/naga)
|
||||
[](https://github.com/gfx-rs/naga/actions)
|
||||
[](https://codecov.io/gh/gfx-rs/naga)
|
||||
|
||||
The shader translation library for the needs of [wgpu](https://github.com/gfx-rs/wgpu) and [gfx-rs](https://github.com/gfx-rs/gfx) projects.
|
||||
|
||||
|
||||
Reference in new issue
Block a user