Skip to content

Commit

Permalink
Add note in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesSetiawan committed Feb 5, 2024
1 parent 475c747 commit c838c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/django-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ jobs:
- name: Run tests and generate coverage
run: |
coverage run --source='.' manage.py test
coverage report > coverage-out.txt
coverage xml -o ./coverage.xml
echo "Test coverage result: $(cat coverage-out.txt)" >> Readme.md
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
Expand Down
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### Backend for Revelio App

#### Note:
- Test coverage for now can be seen at Action --> select the **latest** workflow runs --> select `sonarcloud` Jobs --> open section `Run tests and generate coverage`

#### Note for developers:
- For development, please add `dev` on every command that **runs** `manage.py` so it will use the Development environment. For example: `python manage.py dev runserver`, `python manage.py dev makemigrations`, `python manage.py dev migrate`.
- While developing, use `python manage.py dev loaddata data_seed_authentication.json` (for example) to load a data seed to development environment database.
Expand Down

0 comments on commit c838c7d

Please sign in to comment.