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
pycodegen
pystencils_autodiff
Commits
6c0f5cda
Commit
6c0f5cda
authored
Sep 13, 2019
by
Stephan Seitz
Browse files
Disable windows CI and test_tfmad_gradient_check also on Gitlab CI
parent
fc225376
Pipeline
#17974
passed with stage
in 1 minute and 37 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6c0f5cda
# Minimal tests in windows environment
windows
:
stage
:
test
except
:
variables
:
-
$ENABLE_NIGHTLY_BUILDS
tags
:
-
win
script
:
-
source /cygdrive/c/Users/build/Miniconda3/Scripts/activate
-
source activate pystencils_dev
-
env
-
conda env list
-
python -c "import numpy"
-
python -m pip install -e .
-
python setup.py test
artifacts
:
when
:
always
paths
:
-
test-report
-
htmlcov
#
# Minimal tests in windows environment
#
windows:
#
stage: test
#
except:
#
variables:
#
- $ENABLE_NIGHTLY_BUILDS
#
tags:
#
- win
#
script:
#
- source /cygdrive/c/Users/build/Miniconda3/Scripts/activate
#
- source activate pystencils_dev
#
- env
#
- conda env list
#
- python -c "import numpy"
#
- python -m pip install -e .
#
- python setup.py test
#
artifacts:
#
when: always
#
paths:
#
- test-report
#
- htmlcov
#ubuntu:
#stage: test
...
...
tests/test_tfmad.py
View file @
6c0f5cda
...
...
@@ -54,7 +54,7 @@ def test_tfmad_two_stencils():
print
(
auto_diff
)
@
pytest
.
mark
.
skipif
(
"
TRAVIS
"
in
os
.
environ
,
reason
=
"Temporary skip"
)
@
pytest
.
mark
.
skipif
(
"
CI
"
in
os
.
environ
,
reason
=
"Temporary skip"
)
def
test_tfmad_gradient_check
():
tf
=
pytest
.
importorskip
(
'tensorflow'
)
...
...
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