diff --git a/.github/workflows/rust_tests.yml b/.github/workflows/rust_tests.yml index 2b91b47..aa97c70 100644 --- a/.github/workflows/rust_tests.yml +++ b/.github/workflows/rust_tests.yml @@ -60,14 +60,14 @@ jobs: with: command: build toolchain: ${{ matrix.toolchain }} - args: --target ${{ matrix.target }} --workspace + args: --target ${{ matrix.target }} --workspace --all-features - uses: actions-rs/cargo@v1 name: "Test" if: matrix.target == 'x86_64-unknown-linux-gnu' with: command: test toolchain: ${{ matrix.toolchain }} - args: --target ${{ matrix.target }} --workspace + args: --target ${{ matrix.target }} --workspace --all-features # If musl, compile and test all - uses: actions-rs/cargo@v1 @@ -76,7 +76,7 @@ jobs: with: command: build toolchain: ${{ matrix.toolchain }} - args: --target ${{ matrix.target }} --workspace + args: --target ${{ matrix.target }} --workspace --all-features env: CC: musl-gcc CXX: g++ @@ -86,7 +86,7 @@ jobs: with: command: test toolchain: ${{ matrix.toolchain }} - args: --target ${{ matrix.target }} --workspace + args: --target ${{ matrix.target }} --workspace --all-features env: CC: musl-gcc CXX: g++ @@ -97,7 +97,7 @@ jobs: with: command: build toolchain: ${{ matrix.toolchain }} - args: --target wasm32-unknown-unknown --package cloudevents-sdk + args: --target wasm32-unknown-unknown --features cloudevents-reqwest # Build examples - uses: actions-rs/cargo@v1