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
nomad-lab
nomad-FAIR
Commits
36e681e3
Commit
36e681e3
authored
Jul 22, 2020
by
Markus Scheidgen
Browse files
Added proper excepts for all test and linting CI/CD tasks. [skip-ci]
parent
9b414f01
Pipeline
#79220
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
36e681e3
...
...
@@ -62,6 +62,12 @@ gui_linting:
-
cd gui
-
yarn
-
yarn run eslint 'src/**/*.js'
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_REF_NAME =~ /^dev-.*$/
-
$CI_COMMIT_MESSAGE =~ /\[skip[ _-]tests?\]/i
tests
:
stage
:
test
...
...
@@ -111,6 +117,12 @@ install_tests:
-
python -c "import nomad.datamodel, nomad.datamodel.metainfo, nomad.client"
-
pip install `echo dist/nomad-lab-*.tar.gz`[parsing]
-
python -m nomad.cli parse tests/data/parsers/vasp/vasp.xml
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_REF_NAME =~ /^dev-.*$/
-
$CI_COMMIT_MESSAGE =~ /\[skip[ _-]tests?\]/i
dev_setup_tests
:
stage
:
test
...
...
@@ -119,6 +131,12 @@ dev_setup_tests:
-
pip install --upgrade pip
-
./setup.sh
-
python -m nomad.cli parse tests/data/parsers/vasp/vasp.xml
except
:
refs
:
-
tags
variables
:
-
$CI_COMMIT_REF_NAME =~ /^dev-.*$/
-
$CI_COMMIT_MESSAGE =~ /\[skip[ _-]tests?\]/i
deploy
:
stage
:
deploy
...
...
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