File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 53
53
pip install poetry
54
54
pip install pytest
55
55
- name : Create .env
56
+ shell : bash
56
57
run : |
57
58
touch .env
58
- echo "${{ secrets.ENV_FILE }}" > .env
59
+ echo "${{ secrets.ENV_FILE }}" | base64 --decode > .env
59
60
- name : Run tests
60
61
run : poetry run pytest --doctest-modules --junitxml=junit/test-results.xml
61
62
lint :
Original file line number Diff line number Diff line change 1
1
.venv
2
2
.env
3
+ * .env
3
4
** /__pycache__
4
5
.pytest_cache
5
6
.ruff_cache
Original file line number Diff line number Diff line change 4
4
- Leaving the environment: ` exit `
5
5
- Installing libraries in the environment: ` make install `
6
6
- Run the Flask application: ` python imaginate_api/app.py `
7
+ - Encode / Decode .env via Bash: ` cat .env | base64 -w 0 > encoded.env ` / ` cat encoded.env | base64 --decode > decoded.env `
You can’t perform that action at this time.
0 commit comments