Skip to content

Commit 499b302

Browse files
committed
Try and fix.
1 parent 99a7f3c commit 499b302

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/code_test_and_deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,14 @@ jobs:
5757
pip install .[dev]
5858
# - name: Test
5959
# run: pytest
60-
- name: Test GDrive
61-
env:
62-
CI: "true" # so your skip-marker sees CI=true
60+
- name: Set up Google Drive secrets
6361
run: |
64-
# 1) materialise the JSON file
6562
echo "${{ secrets.GDRIVE_SERVICE_ACCOUNT_JSON }}" > $HOME/gdrive.json
66-
# 2) make both paths available to the test process
6763
echo "GDRIVE_SERVICE_ACCOUNT_FILE=$HOME/gdrive.json" >> $GITHUB_ENV
6864
echo "GDRIVE_ROOT_FOLDER_ID=${{ secrets.GDRIVE_ROOT_FOLDER_ID }}" >> $GITHUB_ENV
69-
pytest -q -k test_gdrive_connection
65+
66+
- name: Run Google Drive tests
67+
run: pytest -q -k test_gdrive_connection
7068

7169
build_sdist_wheels:
7270
name: Build source distribution

tests/tests_integration/test_gdrive_connection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def test_google_drive_connection(self, project):
1818

1919
# ── 2 configure the project (no hard-coded ids/paths) ─────────
2020
project.update_config_file(
21-
local_path=str(Path.home() / "data"), # any temp location
21+
local_path=str(
22+
Path.home() / "data"
23+
), # any temp location TODO UPDATE
2224
connection_method="gdrive",
2325
central_path="testGDrive",
2426
gdrive_root_folder_id=root_id,

0 commit comments

Comments
 (0)