Skip to content

Commit 14daffc

Browse files
authored
Merge pull request #68 from bsipocz/BUG_fix_test_command
BUG: fix shell syntax
2 parents a74d13d + 315a6dc commit 14daffc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/circleci-artifacts-redirector.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ on: [status]
44
jobs:
55
circleci_artifacts_redirector_job:
66
runs-on: ubuntu-latest
7-
if: "${{ github.event.context == 'ci/circleci: build-doc' }}"
87
permissions:
98
statuses: write
109
name: Run CircleCI artifacts redirector
1110
steps:
1211
- name: GitHub Action step
13-
uses: scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1 # v1.0.0
12+
uses: scientific-python/circleci-artifacts-redirector-action@7eafdb60666f57706a5525a2f5eb76224dc8779b # v1.1.0
1413
with:
1514
repo-token: ${{ secrets.GITHUB_TOKEN }}
1615
api-token: ${{ secrets.CIRCLE_TOKEN }}

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10
3131

3232
_exitval="$?"
3333

34-
if [ $_exitval > 0 ]; then
34+
if [[ $_exitval > 0 ]]; then
3535
exit $_exitval
3636
fi
3737

0 commit comments

Comments
 (0)