Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Settings via https://docs.codecov.com/docs/common-recipe-list
coverage:
status:
project:
default:
informational: true
comment:
layout: " diff, flags, files"
behavior: default
38 changes: 24 additions & 14 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,18 @@ jobs:
- name: Check that the collector compiles
run: |
cargo check --locked --manifest-path collector/Cargo.toml
# - name: Check that the Windows node runner service compiles (gnu toolchain, disable embedded resources)
# run: |
# cargo check --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/Cargo.toml --workspace --no-default-features
# - name: Check that the Windows installer custom action library compiles (gnu toolchain)
# run: |
# cargo check --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/installer/custom-actions/Cargo.toml --workspace
- name: Check that the Windows node runner service compiles (gnu toolchain, disable embedded resources)
# Instrument coverage flag doesn't seem to be supported in windows target
env:
RUSTFLAGS: ""
run: |
cargo check --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/Cargo.toml --workspace --no-default-features
- name: Check that the Windows installer custom action library compiles (gnu toolchain)
# Instrument coverage flag doesn't seem to be supported in windows target
env:
RUSTFLAGS: ""
run: |
cargo check --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/installer/custom-actions/Cargo.toml --workspace
- name: Run clippy (without extra features)
run: |
cargo clippy --locked --manifest-path concordium-node/Cargo.toml --all -- -D warnings
Expand All @@ -262,20 +268,24 @@ jobs:
- name: Run clippy on collector
run: |
cargo clippy --locked --manifest-path collector/Cargo.toml -- -D warnings
# - name: Run clippy on Windows node runner service
# run: |
# cargo clippy --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/Cargo.toml --all --no-default-features -- -D warnings
# - name: Run clippy on Windows installer custom action library
# run: |
# cargo clippy --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/installer/custom-actions/Cargo.toml --all -- -D warnings
- name: Run clippy on Windows node runner service
# Instrument coverage flag doesn't seem to be supported in windows?
env:
RUSTFLAGS: ""
run: |
cargo clippy --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/Cargo.toml --all --no-default-features -- -D warnings
- name: Run clippy on Windows installer custom action library
# Instrument coverage flag doesn't seem to be supported in windows?
env:
RUSTFLAGS: ""
run: |
cargo clippy --locked --target x86_64-pc-windows-gnu --manifest-path service/windows/installer/custom-actions/Cargo.toml --all -- -D warnings
- name: Test Rust crates (without extra features)
run: |
cargo test --manifest-path concordium-node/Cargo.toml --all
- name: Test Rust crates (with feature 'network_dump')
run: |
cargo test --manifest-path concordium-node/Cargo.toml --all --features=network_dump

# WIP: coverage reporting:
- name: Check for .profraw files
run: |
find . -type f -name "*.profraw"
Expand Down
Loading