Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
70b31cce
Unverified
Commit
70b31cce
authored
6 years ago
by
Cam Saul
Browse files
Options
Downloads
Patches
Plain Diff
Add profiles for lein run and lein ring server that ignore the tests
parent
cf8bd465
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project.clj
+13
-1
13 additions, 1 deletion
project.clj
with
13 additions
and
1 deletion
project.clj
+
13
−
1
View file @
70b31cce
...
...
@@ -14,6 +14,8 @@
"generate-automagic-dashboards-pot"
[
"with-profile"
"+generate-automagic-dashboards-pot"
"run"
]
"install"
[
"with-profile"
"+install"
"install"
]
"install-for-building-drivers"
[
"with-profile"
"install-for-building-drivers"
"install"
]
"run"
[
"with-profile"
"+run"
"run"
]
"ring"
[
"with-profile"
"+ring"
"ring"
]
"test"
[
"with-profile"
"+expectations"
"expectations"
]
"bikeshed"
[
"with-profile"
"+bikeshed"
"bikeshed"
"--max-line-length"
"205"
]
"eastwood"
[
"with-profile"
"+eastwood"
"eastwood"
]
...
...
@@ -150,6 +152,7 @@
[
lein-bikeshed
"0.4.1"
]
; Linting
[
lein-environ
"1.1.0"
]
; easy access to environment variables
[
lein-expectations
"0.0.8"
]
; run unit tests with 'lein expectations'
;; TODO - should this be moved to the new RING profile?
[
lein-ring
"0.12.3"
; start the HTTP server with 'lein ring server'
:exclusions
[
org.clojure/clojure
]]]
...
...
@@ -170,6 +173,15 @@
{
:auto-clean
true
:aot
:all
}
:exclude-tests
{
:test-paths
^
:replace
[]}
:run
[
:exclude-tests
{}]
:ring
[
:exclude-tests
{}]
:with-include-drivers-middleware
{
:plugins
[[
metabase/lein-include-drivers
"1.0.4"
]]
...
...
@@ -181,7 +193,7 @@
[
:with-include-drivers-middleware
{
:injections
[(
require
'metabase.test-setup
; for test setup stuff
'metabase.test.util
)]
; for the toucan.util.tes
t default values for temp models
'metabase.test.util
)]
; for the toucan.util.test default values for temp models
:resource-paths
[
"test_resources"
]
...
...
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