Skip to content

Commit 68793e6

Browse files
committed
building and testing in one
1 parent c881907 commit 68793e6

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/big_endian.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
if: steps.container-cache.outputs.cache-hit == 'true'
128128
run: docker load -i "~/docker_${TOOLCHAIN_NAME}/quaddtype_container.tar"
129129

130-
- name: Build quaddtype with cross-compilation
130+
- name: Build quaddtype with cross-compilation and testing
131131
run: |
132132
docker run --rm --platform=linux/${ARCH} -e "TERM=xterm-256color" \
133133
-v $(pwd):/workspace -v /:/host quaddtype_container \
@@ -140,15 +140,7 @@ jobs:
140140
141141
# Install quaddtype with test dependencies
142142
python -m pip install .[test] -v --no-build-isolation --force-reinstall
143-
'"
144-
145-
- name: Run quaddtype tests
146-
run: |
147-
docker run --rm --platform=linux/${ARCH} -e "TERM=xterm-256color" \
148-
-v $(pwd):/workspace -v /:/host quaddtype_container \
149-
/bin/script -e -q -c "/bin/bash --noprofile --norc -eo pipefail -c '
150-
cd /workspace &&
151-
echo \"Running quaddtype tests on ${ARCH_NAME} (endianness: \$(python -c \"import sys; print(sys.byteorder)\"))\" &&
152-
echo \"Note: Testing big-endian byte order handling in quad precision operations\" &&
153-
python -m pytest -vvv --color=yes --timeout=600 --tb=short /workspace/quaddtype/tests/
143+
144+
cd ..
145+
python -m pytest -vvv --color=yes --timeout=600 --tb=short quaddtype/tests/
154146
'"

0 commit comments

Comments
 (0)