1
1
의 미러 https://github.com/henrydcase/pqc.git synced 2024-11-22 07:35:38 +00:00

fix emulated common tests

This commit is contained in:
Thom Wiggers 2020-10-13 13:14:33 +02:00 committed by Kris Kwiatkowski
부모 8914d1669d
커밋 f53268924d

파일 보기

@ -44,7 +44,7 @@ jobs:
- name: Run tests
run: |
cd test
python3 test_common.py
python3 test_common.py --numprocesses=auto
python3 test_workflows.py
test-emulated:
runs-on: ubuntu-latest
@ -79,17 +79,16 @@ jobs:
with:
path: ~/.cache/pip
key: v1-python-pip
- name: Run tests in container
run: |
docker run --rm -e CI -e CC -e -v $PWD:$PWD -w $PWD -v ~/ccache:/ccache pqclean/ci-container:${{ matrix.arch }} /bin/bash -c "\
docker run --rm -e CI -e CC -v $PWD:$PWD -w $PWD -v ~/ccache:/ccache pqclean/ci-container:${{ matrix.arch }} /bin/bash -c "\
export CCACHE_NOSTATS=1 && \
export CCACHE_DIR=/ccache && \
export CCACHE_SLOPPINESS=include_file_mtime && \
export CC=\"ccache $CC\" && \
pip3 install -r requirements.txt && \
pip3 install -U -r requirements.txt && \
cd test && \
python3 test_common.py"
python3 test_common.py --numprocesses=auto"
test-windows:
strategy:
matrix:
@ -115,7 +114,7 @@ jobs:
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Auxiliary\\Build\\vcvars${{ matrix.bits }}.bat"
cd test
python -m pytest --verbose --numprocesses=auto
python3 test_common.py
python3 test_common.py --numprocesses=auto
shell: cmd
test-macos:
env:
@ -141,5 +140,5 @@ jobs:
- name: Run tests
run: |
cd test
python3 test_common.py
python3 test_common.py --numprocesses=auto