Skip to content

Commit

Permalink
fix: create k6 env file
Browse files Browse the repository at this point in the history
  • Loading branch information
asnunes committed Jan 18, 2024
1 parent 80f63cd commit 2ef7f68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/load_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
uses: actions/checkout@v2

- name: Create K6 env file
run: echo "DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@localhost:5432/${DB_DATABASE}\nAPI_URL=${API_URL}" >> ./.k6/.env
run: |
touch ./.k6/.env
echo "DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@localhost:5432/${DB_DATABASE}" >> ./.k6/.env
echo "API_URL=${API_URL}" >> ./.k6/.env
- name: Build K6
run: make k6-build
Expand Down

0 comments on commit 2ef7f68

Please sign in to comment.