Parcourir la source

Test no_std support in CI

Mads Marquart il y a 5 ans
Parent
commit
934edd4b1a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      .github/workflows/main.yml

+ 2 - 0
.github/workflows/main.yml

@@ -47,6 +47,8 @@ jobs:
           matrix.os == 'windows-latest' &&
           matrix.rust == 'nightly'
         run: cargo test --test debugger_visualizer --features "url/serde,url/debugger_visualizer" -- --test-threads=1
+      - name: Test `no_std` support
+        run: cargo test --no-default-features --features=alloc
 
   WASM:
     runs-on: ubuntu-latest