File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -147,20 +147,28 @@ jobs:
147147          MDBOOK_BOOK__LANGUAGE : ${{ matrix.language }} 
148148        run : mdbook test 
149149
150+   web-tests :
151+     runs-on : ubuntu-latest 
152+     needs : build 
153+     steps :
154+       - name : Checkout 
155+         uses : actions/checkout@v5 
150156      - name : Setup Node 
151-         if : matrix.language == 'en' 
152157        uses : actions/setup-node@v5 
153158        with :
154159          node-version : 22 
155160          cache : " npm" 
156161          cache-dependency-path : " tests/package-lock.json" 
157162      - name : Install test framework 
158-         if : matrix.language == 'en' 
159163        run : npm install 
160164        working-directory : ./tests 
165+       - name : Download english book 
166+         uses : actions/download-artifact@v6 
167+         with :
168+           name : comprehensive-rust-en 
169+           path : book/ 
161170      - name : Test Javascript 
162-         if : matrix.language == 'en' 
163-         run : cargo xtask web-tests --dir book/comprehensive-rust-${{ matrix.language }}/html 
171+         run : cargo xtask web-tests --dir book/comprehensive-rust-en/html 
164172
165173  po-diff :
166174    name : Translation diff 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments