Explorar el Código

fix emulated common tests

tags/v0.0.1
Thom Wiggers hace 4 años
committed by Kris Kwiatkowski
padre
commit
f53268924d
Se han modificado 1 ficheros con 6 adiciones y 7 borrados
  1. +6
    -7
      .github/workflows/common.yml

+ 6
- 7
.github/workflows/common.yml Ver fichero

@@ -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


Cargando…
Cancelar
Guardar