Commit 46f31067 authored by David Diederich's avatar David Diederich
Browse files

Fix some virtualenv errors

Firstly, using 'python -m venv' doesn't require a previous global install of virtualenv; so it can work on fresh containers (like
the CI runners). Secondly, the activation needs to be 'sourced' so it affects the current shell execution
parent b1d6dd88
Pipeline #10928 failed with stages
in 7 seconds
...@@ -103,8 +103,8 @@ with open('test-execution.gitlab-ci.yml', 'w') as pipelineConfig: ...@@ -103,8 +103,8 @@ with open('test-execution.gitlab-ci.yml', 'w') as pipelineConfig:
' paths:', ' paths:',
' - venv', ' - venv',
' before_script:', ' before_script:',
' - virtualenv venv', ' - python -m venv venv',
' - venv/bin/activate', ' - source venv/bin/activate',
' - pip3 install -r requirements.txt', ' - pip3 install -r requirements.txt',
' script:', ' script:',
' - cd public && ../Summarize_Newman_Html_Reports.py', ' - cd public && ../Summarize_Newman_Html_Reports.py',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment