Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurilo75 committed Mar 19, 2024
1 parent fd5ba26 commit f204c3c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,19 @@ jobs:
runs-on: ubuntu-latest

services:
postgres:
image: postgres:15
ports:
- 5432:5432
mysql:
image: mysql:latest
env:
POSTGRES_PASSWORD: postgres
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mydatabase
MYSQL_USER: myuser
MYSQL_PASSWORD: mypassword
ports:
- 3306:3306

env:
# postgres://user:password@host:port/database
DATABASE_URL: 'postgres://postgres:postgres@localhost:5432/postgres'
# mysql://user:password@host:port/database
DATABASE_URL: 'mysql://myuser:mypassword@localhost:3306/mydatabase'

steps:
- name: Checkout Code Repository
Expand Down
27 changes: 27 additions & 0 deletions development_notebook/2024-03-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Current State

* Project has been fully configured from cookiecutter-django using MySQL.
* Deployed to production at [negligentoctopus.pythonanywhere.com](negligentoctopus.pythonanywhere.com).

Core models are being defined and added to the django-admin interface to be tested.
Account and transactions are implemented with balance as prefix-sum.

## Update


# Today

* Add testing - Ask ChatGPT for intro to how to test django models
! Remember - requires change to lint in CI/CD for testing to work

## Work Log
__InProgress__

__ToDo__
* Add testing

__Done__

__Discarded__

# To Do

0 comments on commit f204c3c

Please sign in to comment.