Skip to content

Commit 4c78e39

Browse files
committed
create .env file on the fly
1 parent e2c6e7d commit 4c78e39

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/github_actions_tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
source .venv/bin/activate
3434
python -m playwright install --with-deps
3535
36+
- run:
37+
name: create enviornment file from circle ci.
38+
command: |
39+
set -x
40+
ENV_FILE=".env"
41+
echo "BASE_URL=${BASE_URL}" >> "$ENV_FILE"
42+
set +x
43+
3644
- name: Run tests with Pytest
3745
run: |
3846
source .venv/bin/activate

0 commit comments

Comments
 (0)