File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 5757 python-version : ' 3.x'
5858 architecture : ' x64'
5959
60- - name : Run integration tests on windows-2019
61- # Since GH windows VM do not handle well tmpdirs,
62- # we create the pytest temp folder in current dir
63- if : matrix.operating-system == 'windows-2019'
64- env :
65- PYTEST_DEBUG_TEMPROOT : ' .pytest-tmp-dir'
66- run : |
67- if not exist %PYTEST_DEBUG_TEMPROOT% mkdir %PYTEST_DEBUG_TEMPROOT%
68- pip install -r test/requirements.txt
69- task test-integration
70- rmdir %PYTEST_DEBUG_TEMPROOT% /Q /S
71- shell : cmd
72-
7360 - name : Run integration tests
74- if : matrix.operating-system != 'windows-2019'
7561 run : |
7662 pip install -r test/requirements.txt
7763 task test-integration
Original file line number Diff line number Diff line change 1313# software without disclosing the source code of your own applications. To purchase
1414# a commercial license, send an email to license@arduino.cc.
1515import os
16+ import platform
1617
18+ import pytest
1719
20+ from test .common import running_on_ci
21+
22+
23+ @pytest .mark .skipif (running_on_ci () and platform .system () == "Windows" ,
24+ reason = "Test disabled on Github Actions Win VM until tmpdir inconsistent behavior bug is fixed" )
1825def test_sketch_new (run_command , working_dir ):
1926 # Create a test sketch in current directory
2027 current_path = working_dir
You can’t perform that action at this time.
0 commit comments