Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyantao99 authored Nov 6, 2023
1 parent 9fdf59a commit 0396b3b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ jobs:
# Run pylint on the service
pylint service tests --max-line-length=127
- name: Run unit tests with PyTest
run: pytest --pspec --cov=service --cov-fail-under=95 --disable-warnings
- name: Run unit tests with green
run: |
export FLASK_APP=service:app
green -q
coverage report --fail-under=95
env:
DATABASE_URI: "postgresql://postgres:pgs3cr3t@postgres:5432/testdb"

Expand Down

0 comments on commit 0396b3b

Please sign in to comment.