Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
71ea04ff
Unverified
Commit
71ea04ff
authored
4 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Help for Makefile.
parent
93e97e5d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+18
-1
18 additions, 1 deletion
Makefile
with
18 additions
and
1 deletion
Makefile
+
18
−
1
View file @
71ea04ff
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
# Just a collection of scripts
# Just a collection of scripts
.PHONY
:
all autopep8 test
.PHONY
:
all autopep8 test
help
# Do the integration tests.
# Do the integration tests.
# Accepts freestyle arguments like so:
# Accepts freestyle arguments like so:
...
@@ -29,9 +29,26 @@
...
@@ -29,9 +29,26 @@
test
:
test
:
cd
tests
&&
pytest
$(
test_opts
)
cd
tests
&&
pytest
$(
test_opts
)
# Just print the help.
define
HELP
The most common targets
:
make test
::
Do the integration tests. Accepts freestyle arguments like so:
`make
test
test_opts
=
test_foo.py
-k
test_function
`
Prepare
everything
for
running.
make autopep8
::
Autoformatting for all tests
make all
::
Run autopep8 and test
endef
export
HELP
help
:
@
echo
"
$$
HELP"
# Run the tests through autopep8.
# Run the tests through autopep8.
autopep8
:
autopep8
:
autopep8
-ri
tests
autopep8
-ri
tests
# Meta target to call the other targets.
# Meta target to call the other targets.
all
:
autopep8 test
all
:
autopep8 test
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