Skip to content

Commit f36a01d

Browse files
ci: Enable all features for testing
1 parent 41c1557 commit f36a01d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -447,15 +447,15 @@ jobs:
447447
- name: Run tests
448448
working-directory: libs
449449
run: |
450-
cargo test --no-run
451-
cargo test --workspace --exclude="pavex_cli"
450+
cargo test --all-features --no-run
451+
cargo test --all-features --workspace --exclude="pavex_cli"
452452
- name: Run UI tests
453453
env:
454454
PAVEX_TEST_CLI_PATH: /home/runner/.cargo/bin/pavex
455455
PAVEXC_TEST_CLI_PATH: /home/runner/.cargo/bin/pavexc
456456
working-directory: libs
457457
run: |
458-
cargo test --package pavex_cli
458+
cargo test --all-features --package pavex_cli
459459
- uses: ./.github/actions/finalize-check
460460
if: ${{ always() && github.event_name != 'push' }}
461461
with:
@@ -606,15 +606,15 @@ jobs:
606606
- name: Run tests
607607
working-directory: libs
608608
run: |
609-
cargo test --no-run
610-
cargo test --workspace --exclude="pavex_cli"
609+
cargo test --all-features --no-run
610+
cargo test --all-features --workspace --exclude="pavex_cli"
611611
- name: Run UI tests
612612
env:
613613
PAVEX_TEST_CLI_PATH: /Users/runner/.cargo/bin/pavex
614614
PAVEXC_TEST_CLI_PATH: /Users/runner/.cargo/bin/pavexc
615615
working-directory: libs
616616
run: |
617-
cargo test --package pavex_cli
617+
cargo test --all-features --package pavex_cli
618618
- uses: ./.github/actions/finalize-check
619619
if: ${{ always() && github.event_name != 'push' }}
620620
with:
@@ -759,15 +759,15 @@ jobs:
759759
- name: Run tests
760760
working-directory: libs
761761
run: |
762-
cargo test --no-run
763-
cargo test --workspace --exclude="pavex_cli"
762+
cargo test --all-features --no-run
763+
cargo test --all-features --workspace --exclude="pavex_cli"
764764
- name: Run UI tests
765765
env:
766766
PAVEX_TEST_CLI_PATH: C:\Users\runneradmin\.cargo\bin\pavex.exe
767767
PAVEXC_TEST_CLI_PATH: C:\Users\runneradmin\.cargo\bin\pavexc.exe
768768
working-directory: libs
769769
run: |
770-
cargo test --package pavex_cli
770+
cargo test --all-features --package pavex_cli
771771
- uses: ./.github/actions/finalize-check
772772
if: ${{ always() && github.event_name != 'push' }}
773773
with:

ci_utils/templates/job_steps/tests.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
- name: Run tests
1111
working-directory: libs
1212
run: |
13-
cargo test --no-run
14-
cargo test --workspace --exclude="pavex_cli"
13+
cargo test --all-features --no-run
14+
cargo test --all-features --workspace --exclude="pavex_cli"
1515
- name: Run UI tests
1616
env:
1717
PAVEX_TEST_CLI_PATH: << pavex_path(target) >>
1818
PAVEXC_TEST_CLI_PATH: << pavexc_path(target) >>
1919
working-directory: libs
2020
run: |
21-
cargo test --package pavex_cli
21+
cargo test --all-features --package pavex_cli
2222
<%- endblock %>

0 commit comments

Comments
 (0)