Skip to content

Commit

Permalink
add env2
Browse files Browse the repository at this point in the history
  • Loading branch information
oyster14 committed Nov 20, 2023
1 parent a070db5 commit 4d958d5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/bdd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
branches:
- master
paths-ignore:
- 'README.md'
- '.vscode/**'
- '**.md'
- "README.md"
- ".vscode/**"
- "**.md"
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
- '.vscode/**'
- '**.md'
- "README.md"
- ".vscode/**"
- "**.md"

jobs:
build:
Expand Down Expand Up @@ -51,13 +51,12 @@ jobs:
- name: Run the service locally
run: |
echo "\n*** STARTING APPLICATION ***\n"
gunicorn --log-level=critical --bind=0.0.0.0:8080 service:app &
gunicorn --log-level=critical --bind=0.0.0.0:8000 service:app &
sleep 5
curl -i http://localhost:8080/health
curl -i http://localhost:8000/health
echo "\n*** SERVER IS RUNNING ***"
env:
DATABASE_URI: "postgresql://postgres:pgs3cr3t@postgres:5432/testdb"

- name: Run Integration Tests
run: behave

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ target/
celerybeat-schedule

# dotenv
# .env
.env

# virtualenv
venv/
Expand Down

0 comments on commit 4d958d5

Please sign in to comment.