Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
zesje
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
157
Issues
157
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zesje
zesje
Commits
f2d2c32a
Commit
f2d2c32a
authored
May 21, 2019
by
Ruben Young On
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python tests are no separate stage in the CI
Slightly changed yarn cov command
parent
8541fef5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
.gitlab-ci.yml
.gitlab-ci.yml
+1
-6
package.json
package.json
+1
-1
No files found.
.gitlab-ci.yml
View file @
f2d2c32a
...
...
@@ -35,11 +35,6 @@ test_js:
stage
:
test
script
:
yarn test:js
test_py
:
<<
:
*python_packages
stage
:
test
script
:
yarn test:py
lint_js
:
<<
:
*node_modules
stage
:
test
...
...
@@ -53,7 +48,7 @@ lint_py:
allow_failure
:
true
script
:
-
yarn lint:py
cov
:
<<
:
*python_packages
stage
:
test
...
...
package.json
View file @
f2d2c32a
...
...
@@ -17,7 +17,7 @@
"migrate:dev"
:
"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db upgrade"
,
"migrate"
:
"FLASK_APP=zesje/__init__.py flask db upgrade"
,
"prepare-migration"
:
"ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db migrate"
,
"cov"
:
"python
-m pytest
--cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/"
,
"cov"
:
"python
3 -m pytest -v -W error::RuntimeWarning
--cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/"
,
"migrate-down"
:
"FLASK_APP=zesje/__init__.py flask db downgrade"
},
"standard"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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