Skip to content
Snippets Groups Projects
Commit 85bc789c authored by Robert Rosca's avatar Robert Rosca
Browse files

Move and add pip upgrade command to before script

parent b3198c02
No related branches found
No related tags found
1 merge request!437Fix/requirements into setuppy
......@@ -9,6 +9,7 @@ checks:
before_script:
- python3 -m venv .venv
- source .venv/bin/activate
- python3 -m pip install --upgrade pip
script:
- export PATH=/home/gitlab-runner/.local/bin:$PATH
# We'd like to run the pre-commit hooks only on files that are being
......@@ -39,7 +40,7 @@ pytest:
- echo $GIT_SSH_COMMAND
- python3 -m venv .venv
- source .venv/bin/activate
script:
- python3 -m pip install --upgrade pip
script:
- python3 -m pip install ".[test]"
- python3 -m pytest --cov=cal_tools --cov=xfel_calibrate --ignore=tests/legacy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment