Skip to content

Commit

Permalink
Run e2e using env vars
Browse files Browse the repository at this point in the history
This fits the move towards env vars after removing the config
package.
  • Loading branch information
Ozoniuss committed Jul 25, 2024
1 parent 386ff2b commit 4f96844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/casheer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
push:
branches:
- main
- refactor
pull_request:
branches:
- main
- refactor

jobs:
build-and-run-unit-test:
Expand Down
7 changes: 5 additions & 2 deletions docker-compose.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ services:
dockerfile: ./Dockerfile
container_name: casheer-e2e
# Make sure ports from command and ports match.
env_file:
- ./configs/e2e.env
environment:
- CASHEER_SERVER_SCHEME=http
- CASHEER_SERVER_ADDRESS=0.0.0.0
- CASHEER_SERVER_PORT=6597
- CASHEER_SQLITE_FILE=/externaldeps/casheer.db
ports:
- 6597:6597
volumes:
Expand Down

0 comments on commit 4f96844

Please sign in to comment.