|
66 | 66 | tests: |
67 | 67 | name: Tests |
68 | 68 | runs-on: ubuntu-latest |
| 69 | + strategy: |
| 70 | + fail-fast: false |
| 71 | + matrix: |
| 72 | + feature-set: |
| 73 | + - "--all-features" |
| 74 | + - "--no-default-features" |
| 75 | + - "--no-default-features --features webpki-roots" |
| 76 | + - "--features cookies" |
| 77 | + - "--features gzip,stream" |
| 78 | + - "--features brotli,stream" |
| 79 | + - "--features zstd,stream" |
| 80 | + - "--features deflate,stream" |
| 81 | + - "--features json" |
| 82 | + - "--features multipart" |
| 83 | + - "--features stream" |
| 84 | + - "--features hickory-dns" |
69 | 85 | steps: |
70 | | - - uses: actions/checkout@v5 |
| 86 | + - uses: actions/checkout@v4 |
71 | 87 | - uses: actions-rs/toolchain@v1 |
72 | 88 | with: |
73 | 89 | toolchain: stable |
|
76 | 92 | - uses: taiki-e/install-action@v2 |
77 | 93 | with: |
78 | 94 | tool: cargo-nextest |
79 | | - - name: Tests --all-features |
80 | | - shell: bash |
81 | | - run: cargo nextest run --workspace --all-features |
82 | | - - name: Test --no-default-features |
83 | | - run: cargo nextest run --workspace --no-default-features |
84 | | - - name: Test webpki-roots feature |
85 | | - run: cargo nextest run --workspace --no-default-features --features webpki-roots |
86 | | - - name: Test cookies feature |
87 | | - run: cargo nextest run --workspace --features cookies |
88 | | - - name: Test --features gzip,stream |
89 | | - run: cargo nextest run --workspace --features gzip,stream |
90 | | - - name: Test --features brotli,stream |
91 | | - run: cargo nextest run --workspace --features brotli,stream |
92 | | - - name: Test --features zstd,stream |
93 | | - run: cargo nextest run --workspace --features zstd,stream |
94 | | - - name: Test --features deflate,stream |
95 | | - run: cargo nextest run --workspace --features deflate,stream |
96 | | - - name: Test --features json |
97 | | - run: cargo nextest run --workspace --features json |
98 | | - - name: Test --features multipart |
99 | | - run: cargo nextest run --workspace --features multipart |
100 | | - - name: Test --features stream |
101 | | - run: cargo nextest run --workspace --features stream |
102 | | - - name: Test --features hickory-dns |
103 | | - run: cargo nextest run --workspace --features hickory-dns |
| 95 | + - name: Run tests (${{ matrix.feature-set }}) |
| 96 | + run: cargo nextest run --workspace ${{ matrix.feature-set }} |
104 | 97 |
|
105 | 98 | windows: |
106 | 99 | name: Windows |
|
0 commit comments