Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MICADO-WISE
Manage
Activity
Members
Labels
Plan
Issues
80
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
MICADO
MICADO-WISE
Commits
aa80fc52
Commit
aa80fc52
authored
2 years ago
by
Willem-Jan Vriend
Browse files
Options
Downloads
Patches
Plain Diff
exclude notebooks from black
parent
511b3f62
Branches
Branches containing commit
1 merge request
!374
Wjv/bugfix/raw sim notebooks from yixian
Pipeline
#21091
failed with stages
in 51 minutes and 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conda-recipe/run_test.sh
+2
-3
2 additions, 3 deletions
conda-recipe/run_test.sh
with
2 additions
and
3 deletions
conda-recipe/run_test.sh
+
2
−
3
View file @
aa80fc52
...
@@ -60,7 +60,7 @@ python -c "import scopesim" || pip install "ScopeSIM==0.5.4"
...
@@ -60,7 +60,7 @@ python -c "import scopesim" || pip install "ScopeSIM==0.5.4"
# ScopeSim_Templates fetches data from the internet, which does not work
# ScopeSim_Templates fetches data from the internet, which does not work
# when using conda-build.
# when using conda-build.
#python -c "import scopesim_templates" || pip install git+https://github.com/AstarVienna/ScopeSim_Templates.git@
dev_
master
#python -c "import scopesim_templates" || pip install
-e
git+https://github.com/AstarVienna/ScopeSim_Templates.git@master
python
-c
"import scopesim_templates"
||
pip
install
"ScopeSIM_Templates==0.4.2"
python
-c
"import scopesim_templates"
||
pip
install
"ScopeSIM_Templates==0.4.2"
# TODO: Fetch ScopeSim data package.
# TODO: Fetch ScopeSim data package.
...
@@ -133,7 +133,6 @@ fi
...
@@ -133,7 +133,6 @@ fi
echo
"Running functional tests."
echo
"Running functional tests."
coverage run
--branch
--source
=
"
${
MICADO_DIR
}
"
-m
pytest
\
coverage run
--branch
--source
=
"
${
MICADO_DIR
}
"
-m
pytest
\
"
${
SRC_DIR
}
/src/micado/test/functional"
"
${
SRC_DIR
}
/src/micado/test/functional"
#python -m pytest "${SRC_DIR}/src/micado/test/functional"
# Do integration tests, in particular database and CPL tests.
# Do integration tests, in particular database and CPL tests.
# These tests are not required to build the package, only in CI.
# These tests are not required to build the package, only in CI.
...
@@ -177,7 +176,7 @@ coverage report -m
...
@@ -177,7 +176,7 @@ coverage report -m
# TODO: Reenable flake8
# TODO: Reenable flake8
#flake8 --docstring-convention google --max-line-length 120 --max-doc-length 80 --extend-ignore=E203 "${SRC_DIR}/src/micado"
#flake8 --docstring-convention google --max-line-length 120 --max-doc-length 80 --extend-ignore=E203 "${SRC_DIR}/src/micado"
black
--check
"
${
SRC_DIR
}
/src/micado"
black
--check
--exclude
"notebooks/*"
"
${
SRC_DIR
}
/src/micado"
# Install sourcery. This might break things and is thus disabled for now.
# Install sourcery. This might break things and is thus disabled for now.
#pip install sourcery-cli
#pip install sourcery-cli
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment