Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

appveyor.yml 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  1. # To run an interactive windows session set APPVEYOR_RDP_ENABLED=TRUE in settings or in global env
  2. # below. Then you'll see an RDP url in the appveyor output. Once in open a console and paste the following
  3. # to use the correct python.
  4. # set PATH=C:\\Python36-x64;C:\\Python36-x64\\Scripts;%PATH%
  5. environment:
  6. global:
  7. CMD_IN_ENV: foo
  8. matrix:
  9. - PYTHON: "C:\\Python36-x64"
  10. install:
  11. - set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
  12. - python --version
  13. - python -m pip install -U pip
  14. - "pip install -r requirements_windows.txt"
  15. - "pip install -e ."
  16. build: off
  17. test_script:
  18. # Run the project tests and store results in .xml log
  19. - mkdir results
  20. - "pytest --cov=wandb --vcr-record=none --junitxml=results\\pytest.xml tests\\test_cli.py tests\\test_docker.py tests\\test_internal_api.py tests\\test_settings.py"
  21. on_finish:
  22. # Upload test results to AppVeyor
  23. - ps: |
  24. # this uploads nosetests.xml produced in test_script step
  25. $wc = New-Object 'System.Net.WebClient'
  26. $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\results\pytest.xml))
  27. # Start RDP server
  28. if($env:APPVEYOR_RDP_ENABLED -eq 'TRUE') {
  29. $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
  30. } else {
  31. echo '----- Remote desktop connection disabled, enable with APPVEYOR_RDP_ENABLED=TRUE -----'
  32. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...