Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shakemap
shakyground2
Commits
cf31b892
Commit
cf31b892
authored
Apr 28, 2021
by
Marius Kriegerowski
Committed by
Graeme Weatherill
May 25, 2021
Browse files
make gitlab ci jobs interruptible and silence install
parent
6050ae84
Pipeline
#23327
passed with stage
in 10 minutes and 4 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cf31b892
...
...
@@ -8,24 +8,27 @@ cache:
-
venv/
before_script
:
-
apt-get update
-
apt-get install -y python3 git python3-pip
-
pip3 install virtualenv
-
virtualenv venv
-
source venv/bin/activate
-
pip3 install .
-
pip3 install pytest-cov
-
pip3 install .[tests]
-
apt-get update
-qq
-
apt-get install -y python3 git python3-pip
-qq > /dev/null
-
pip3 install virtualenv
-q
-
virtualenv venv
-q
-
source venv/bin/activate
-q
-
pip3 install .
-q
-
pip3 install pytest-cov
-q
-
pip3 install .[tests]
-q
formatting
:
interruptible
:
true
script
:
-
make check
test
:
interruptible
:
true
script
:
-
pytest tests
coverage
:
interruptible
:
true
script
:
-
pytest --cov=shakyground2/ tests/
-
coverage xml
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment