This commit is contained in:
@@ -19,6 +19,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
|
|
||||||
|
- name: Configure test environment
|
||||||
|
env:
|
||||||
|
AMAP_TEST_ENV_FILE: ${{ secrets.AMAP_TEST_ENV_FILE }}
|
||||||
|
run: |
|
||||||
|
test -n "$AMAP_TEST_ENV_FILE"
|
||||||
|
printf '%s\n' "$AMAP_TEST_ENV_FILE" > .env
|
||||||
|
chmod 600 .env
|
||||||
|
|
||||||
- name: Install dependencies and run tests
|
- name: Install dependencies and run tests
|
||||||
run: |
|
run: |
|
||||||
python -m venv .venv
|
python -m venv .venv
|
||||||
|
|||||||
Reference in New Issue
Block a user