File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ cscope.*
1717ssh_server_tests /.env
1818/.cover
1919built_artifacts /
20+ component-tests /.venv
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if ($LASTEXITCODE -ne 0) { throw "Failed unit tests" }
3737
3838Write-Output " Running component tests"
3939
40- python - m pip -- disable-pip - version- check install -- upgrade - r component- tests/ requirements.txt
40+ python - m pip -- disable-pip - version- check install -- upgrade - r component- tests/ requirements.txt -- use-pep517
4141python component- tests/ setup.py -- type create
4242python - m pytest component- tests - o log_cli= true -- log- cli- level= INFO
4343if ($LASTEXITCODE -ne 0 ) {
Original file line number Diff line number Diff line change 11# Requirements
2- 1 . Python 3.7 or later with packages in the given ` requirements.txt `
3- - E.g. with conda :
4- - ` conda create -n component-tests python=3.7 `
5- - ` conda activate component-tests `
6- - ` pip3 install -r requirements.txt`
2+ 1 . Python 3.10 or later with packages in the given ` requirements.txt `
3+ - E.g. with venv :
4+ - ` python3 -m venv ./.venv `
5+ - ` source ./.venv/bin/ activate`
6+ - ` python3 -m pip install -r requirements.txt`
77
882 . Create a config yaml file, for example:
99```
You can’t perform that action at this time.
0 commit comments