mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-08 14:45:17 +02:00
Basic Integration Test for backend
This patch implements a very basic test for commits and pull requests to be run on GitHub Actions. This does not yet check much, but would have caught something like the recent syntax error.
This commit is contained in:
parent
23426012af
commit
548d43b563
2 changed files with 77 additions and 0 deletions
16
.github/.docker-compose-database.yml
vendored
Normal file
16
.github/.docker-compose-database.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
db:
|
||||
image: postgis/postgis:15-3.3
|
||||
container_name: adventurelog-db
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
environment:
|
||||
POSTGRES_DB: database
|
||||
POSTGRES_USER: adventure
|
||||
POSTGRES_PASSWORD: changeme123
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
Loading…
Add table
Add a link
Reference in a new issue