Skip to content

Commit 1a078f7

Browse files
committed
minor fixes
1 parent 310af1d commit 1a078f7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
AWS_SECRET_ACCESS_KEY: ${{ secrets.s3_secret_key }}
3939
GIT_TOKEN: ${{ secrets.git_token }}
4040
PUBLIC_SIBLINGS: ${{ inputs.public_siblings }}
41+
DATALAD_LOG_LEVEL: WARN
4142
steps:
4243
- name: debug
4344
run: env
@@ -59,6 +60,7 @@ jobs:
5960
AWS_ACCESS_KEY_ID: ${{ secrets.s3_access_key }}
6061
AWS_SECRET_ACCESS_KEY: ${{ secrets.s3_secret_key }}
6162
GIT_TOKEN: ${{ secrets.git_token }}
63+
DATALAD_LOG_LEVEL: WARN
6264
steps:
6365
- name: setup python
6466
uses: actions/[email protected]

Dockerfile.testenv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ ADD . /actions
55
WORKDIR /work
66
RUN source /opt/venv/bin/activate && python -m pip install --no-cache-dir pytest-order
77

8+
ENV PATH=/opt/venv/bin/:$PATH
9+
810
ENTRYPOINT ["pytest", "-s", "--log-cli-level", "WARN", "/actions/tests"]

tests/deploy/test_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ def get_public_siblings(dataset):
8484
assert len(public_siblings) > 0 , '❓️at least 1 public remote is required'
8585
sib_list = os.environ.get("PUBLIC_SIBLINGS", "").split()
8686
for sib in sib_list:
87-
assert sib in sibling_names, "public remote {sib} not configured"
87+
assert sib in sibling_names, f"public remote {sib} not configured"
8888
return public_siblings

0 commit comments

Comments
 (0)