Disable doc tests on windows

This commit is contained in:
lepapareil 2022-01-28 10:53:13 +01:00 committed by Fabrice Reix
parent dab0b66ec7
commit e41a90899f
3 changed files with 3 additions and 18 deletions

View File

@ -364,8 +364,6 @@ jobs:
Expand-Archive -PassThru -Force -LiteralPath .\ci\windows\vcpkg_installed.zip -DestinationPath C:\vcpkg\
Get-ChildItem C:\vcpkg\installed
vcpkg integrate install
# fix known win build bugs
(Get-Content .\packages\hurl\src\runner\hurl_file.rs).replace('```', '') | Set-Content .\packages\hurl\src\runner\hurl_file.rs
# install proxy and server
pip3 install Flask mitmproxy
- name: Run Tests units
@ -378,7 +376,7 @@ jobs:
Get-Job -Name mitmdump
Start-Sleep 5
cd ..
cargo test --verbose
cargo test --features strict --tests
- name: Run Integration tests
run: |
cargo build --release --verbose

View File

@ -40,13 +40,6 @@ vcpkg integrate install
git.exe clone https://github.com/Orange-OpenSource/hurl
```
## Fix currently known win64 hurl compilation bugs
```cmd
cp -frp c:\hurl\packages\hurl\src\runner\hurl_file.rs c:\hurl\packages\hurl\src\runner\hurl_file.rs.ori
%ChocolateyInstall%\bin\sed.exe "s/```//g" c:\hurl\packages\hurl\src\runner\hurl_file.rs.ori > c:\hurl\packages\hurl\src\runner\hurl_file.rs
```
## Build win64 exe binary
```cmd
@ -87,7 +80,7 @@ launch hurl unit tests
```cmd
cd c:\hurl
cargo test
cargo test --features strict --tests
```
launch hurl integration tests

View File

@ -43,12 +43,6 @@ git.exe config --global core.autocrlf false
git.exe clone https://github.com/Orange-OpenSource/hurl
```
## Fix currently known win64 hurl compilation bugs
```
(Get-Content c:\hurl\packages\hurl\src\runner\hurl_file.rs).replace('```', '') | Set-Content c:\hurl\packages\hurl\src\runner\hurl_file.rs
```
## Build win64 exe binary
```powershell
@ -97,7 +91,7 @@ focus on original powershell prompt and launch hurl unit tests
```powershell
cd c:\hurl\integration
cargo test --verbose
cargo test --features strict --tests
```
launch hurl integration tests