Skip to content

Commit

Permalink
Change virtual environment name
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Sep 23, 2021
1 parent 41b4627 commit 0ac6cb0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cache: &global_cache
paths:
- doc/html/
- tests/htmlcov/
- venv-clean-python/
- shelllogger-venv/
policy: pull-push


Expand All @@ -31,10 +31,10 @@ before_script:
${LSB_RELEASE} -a
fi
- |-
if [ -d "venv-clean-python" ]; then
source venv-clean-python/bin/activate
if [ -d "shelllogger-venv" ]; then
source shelllogger-venv/bin/activate
else
echo "Virtual Environment 'venv-clean-python' was not found"
echo "Virtual Environment 'shelllogger-venv' was not found"
exit 1
fi
echo "-----"
Expand Down Expand Up @@ -63,14 +63,14 @@ requirements:
stage: prepare
timeout: 10m
before_script:
- python3 -m venv venv-clean-python
- python3 -m venv shelllogger-venv
cache:
<<: *global_cache
when: on_success
script:

# Activate the virtual environment.
- source venv-clean-python/bin/activate
- source shelllogger-venv/bin/activate

# Show the contents of the virtual environment.
- python3 -m pip list
Expand Down Expand Up @@ -168,7 +168,7 @@ flake8:
<<: *global_cache
script:
- python3 -m flake8
--exclude=venv-clean-python
--exclude=shelllogger-venv


# Ensure the examples run without problems.
Expand Down

0 comments on commit 0ac6cb0

Please sign in to comment.