ci: Add doctests to workflow

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

@ -111,6 +111,20 @@ jobs:
--exclude integration-test \
--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:
strategy:
fail-fast: false
@ -149,6 +163,17 @@ jobs:
--target ${{ matrix.target }} \
-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:
strategy:
fail-fast: false

Loading…
Cancel
Save