Pārlūkot izejas kodu

Test no_std support in CI

Mads Marquart 5 gadi atpakaļ
vecāks
revīzija
934edd4b1a
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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