Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: CI
merge_group:

env:
toolchain: nightly-2024-11-14
toolchain: stable
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
CARGO_UNSTABLE_SPARSE_REGISTRY: true
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
name: Coverage

on: [push, pull_request]

env:
toolchain: nightly-2024-11-14
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
CARGO_UNSTABLE_SPARSE_REGISTRY: true
CARGO_INCREMENTAL: 0
TERM: unknown
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -17,6 +10,9 @@ concurrency:
jobs:
coverage:
runs-on: ubuntu-22.04
env:
toolchain: stable
CARGO_TERM_COLOR: always
services:
postgres:
image: postgres:13
Expand All @@ -33,20 +29,26 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.toolchain }}
components: clippy

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libtss2-dev

- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
run: cargo llvm-cov --all-features --workspace --exclude atoma-p2p-tester --codecov --output-path codecov.json

- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
files: codecov.json
fail_ci_if_error: true
3 changes: 2 additions & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: CI
on: [push, pull_request]
on:
pull_request:
jobs:
cargo-deny:
runs-on: ubuntu-22.04
Expand Down
Loading
Loading