ci: Add doctests to workflow

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
pull/858/head
Dave Tucker 11 months ago
parent 44f416a617
commit ec51881403

@ -111,6 +111,20 @@ jobs:
--exclude integration-test \ --exclude integration-test \
--workspace --workspace
- name: Doctests
env:
RUST_BACKTRACE: full
run: |
set -euxo pipefail
cargo hack test --doc --feature-powerset \
--exclude aya-bpf \
--exclude aya-bpf-bindings \
--exclude aya-log-ebpf \
--exclude init \
--exclude integration-ebpf \
--exclude integration-test \
--workspace
build-test-aya-bpf: build-test-aya-bpf:
strategy: strategy:
fail-fast: false fail-fast: false
@ -149,6 +163,17 @@ jobs:
--target ${{ matrix.target }} \ --target ${{ matrix.target }} \
-Z build-std=core -Z build-std=core
- name: Test
env:
CARGO_CFG_BPF_TARGET_ARCH: ${{ matrix.arch }}
RUST_BACKTRACE: full
run: |
set -euxo pipefail
cargo hack test --doc \
--package aya-bpf \
--package aya-log-ebpf \
--feature-powerset
run-integration-test: run-integration-test:
strategy: strategy:
fail-fast: false fail-fast: false

Loading…
Cancel
Save