Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed May 27, 2024
1 parent 22fc221 commit 141f56d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ jobs:
- name: Get emulated architectures
id: archs
run: |
OUTPUT=$(python -c "from test.utils import EMULATED_ARCHS; print(', '.join(EMULATED_ARCHS))")
OUTPUT="[${OUTPUT}]"
OUTPUT=$(python -c "from json import dumps; from test.utils import EMULATED_ARCHS; print(dumps(EMULATED_ARCHS))")
echo "${OUTPUT}"
echo "archs=${OUTPUT}" >> "$GITHUB_OUTPUT"
Expand All @@ -153,7 +152,7 @@ jobs:
timeout-minutes: 180
strategy:
matrix:
arch: ${{ needs.emulated-archs.outputs.archs }}
arch: ${{ fromJSON(needs.emulated-archs.outputs.archs) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 141f56d

Please sign in to comment.