Skip to content

Commit d2b50f1

Browse files
committed
Update test yaml.
1 parent aa177cb commit d2b50f1

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/code_test_and_deploy.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,18 @@ jobs:
5555
conda uninstall datashuttle --force
5656
python -m pip install --upgrade pip
5757
pip install .[dev]
58-
- name: Test
59-
run: pytest
58+
# - name: Test
59+
# run: pytest
60+
- name: Test GDrive
61+
env:
62+
CI: "true" # so your skip-marker sees CI=true
63+
run: |
64+
# 1) materialise the JSON file
65+
echo "${{ secrets.GDRIVE_SERVICE_ACCOUNT_JSON }}" > $HOME/gdrive.json
66+
# 2) make both paths available to the test process
67+
echo "GDRIVE_SERVICE_ACCOUNT_FILE=$HOME/gdrive.json" >> $GITHUB_ENV
68+
echo "GDRIVE_ROOT_FOLDER_ID=${{ secrets.GDRIVE_ROOT_FOLDER_ID }}" >> $GITHUB_ENV
69+
pytest -q -k test_gdrive_connection
6070
6171
build_sdist_wheels:
6272
name: Build source distribution

.github/workflows/test_connections.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
with:
2222
python-version: '3.10'
2323

24-
- name: Install deps
25-
run: pip install -r requirements.txt
26-
2724
- name: Expose Google-Drive secrets
2825
run: |
2926
# 1) materialise the JSON file

0 commit comments

Comments
 (0)