|
33 | 33 | fail-fast: false |
34 | 34 | matrix: |
35 | 35 | job: |
36 | | - - { os: ubuntu-latest , features: "feat_os_unix,i18n" } |
37 | | - - { os: macos-latest , features: "feat_os_macos,i18n" } |
38 | | - - { os: windows-latest , features: "feat_os_windows,i18n" } |
| 36 | + - { os: ubuntu-latest , features: "feat_os_unix" } |
| 37 | + - { os: macos-latest , features: "feat_os_macos" } |
| 38 | + - { os: windows-latest , features: "feat_os_windows" } |
39 | 39 | steps: |
40 | 40 | - uses: actions/checkout@v4 |
41 | 41 | with: |
|
68 | 68 | shell: bash |
69 | 69 | run: | |
70 | 70 | ## Test l10n functionality |
71 | | - cargo test --features i18n -p uucore locale |
72 | | - cargo test --features i18n |
| 71 | + cargo test -p uucore locale |
| 72 | + cargo test |
73 | 73 | env: |
74 | 74 | RUST_BACKTRACE: "1" |
75 | 75 |
|
@@ -203,18 +203,12 @@ jobs: |
203 | 203 | run: | |
204 | 204 | ## Test different l10n feature combinations |
205 | 205 |
|
206 | | - echo "Testing with i18n feature enabled..." |
207 | | - cargo check --features "i18n" -p uucore |
208 | | -
|
209 | | - echo "Testing with i18n feature disabled (no feature flag)..." |
| 206 | + echo "Testing with i18n enabled by default..." |
210 | 207 | cargo check -p uucore |
211 | 208 |
|
212 | 209 | echo "Testing with disable_i18n feature..." |
213 | 210 | cargo check --features "disable_i18n" -p uucore |
214 | 211 |
|
215 | | - echo "Testing conflicting features (should work, disable_i18n takes precedence)..." |
216 | | - cargo check --features "i18n,disable_i18n" -p uucore |
217 | | -
|
218 | 212 | echo "All feature combinations compiled successfully" |
219 | 213 | env: |
220 | 214 | RUST_BACKTRACE: "1" |
0 commit comments