diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 4b9f223..62d1573 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -7,6 +7,13 @@ on: merge_group: push: branches: [main] + workflow_dispatch: + inputs: + RUST_LOG: + description: "Log level" + required: false + default: "info" + type: string env: CARGO_TERM_COLOR: always @@ -57,6 +64,9 @@ jobs: with: cache-on-failure: true + - name: Set RUST_LOG + run: echo "RUST_LOG=${{ github.event.inputs.RUST_LOG }}" >> $GITHUB_ENV + - name: Run tests with coverage run: | cargo llvm-cov --workspace --locked nextest --profile ci --lcov --output-path lcov.info