Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dsgs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thouvenin Pierre-Antoine
dsgs
Commits
a5a30cb5
Commit
a5a30cb5
authored
1 year ago
by
pthouvenin
Browse files
Options
Downloads
Patches
Plain Diff
fix: Fixing setup instructions in readme and doc
parent
6ae23870
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-2
3 additions, 2 deletions
README.md
docs/source/setup.rst
+2
-1
2 additions, 1 deletion
docs/source/setup.rst
with
5 additions
and
3 deletions
README.md
+
3
−
2
View file @
a5a30cb5
...
...
@@ -182,8 +182,9 @@ ______________________________________________________________________
```
bash
mamba activate dsgs
cd
build docs/build/html
cd
docs
make html
open docs/build/html/index.html
```
### Assessing code and docstring coverage
...
...
@@ -206,7 +207,7 @@ To launch a single test, run a command of the form
```
bash
mamba activate dsgs
python
-m
pytest tests/
model
s/test_crop.py
python
-m
pytest tests/
operator
s/test_crop.py
pytest
--markers
# check full list of markers availables
pytest
-m
"not mpi"
--ignore-glob
=
**
/archive_unittest/
*
# run all tests not marked as mpi + ignore files in any directory "archive_unittest"
mpiexec
-n
2 python
-m
mpi4py
-m
pytest
-m
mpi
# run all tests marked mpi with 2 cores
...
...
This diff is collapsed.
Click to expand it.
docs/source/setup.rst
+
2
−
1
View file @
a5a30cb5
...
...
@@ -144,8 +144,9 @@ The documentation can be generated in ``.html`` format using the following comma
.. code-block:: bash
conda activate dsgs
cd
build docs/build/html
cd
docs
make html # compile documentation in html, latex or linkcheck
open docs/build/html/index.html
Assessing code and docstring coverage
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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