Commit be051a0f authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

CI/CD pipeline:

- Fixed execution of OFC'22 tests
parent ed7c7917
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -61,10 +61,13 @@ RUN pip-compile --quiet --output-file=requirements.txt requirements.in
RUN python3 -m pip install -r requirements.txt

# Add component files into working directory
WORKDIR /var/teraflow/tests/ofc22
COPY src/tests/ofc22/tests/. ./tests/
COPY src/tests/ofc22/__init__.py __init__.py
COPY src/tests/ofc22/descriptors_emulated.json descriptors_emulated.json
WORKDIR /var/teraflow
COPY src/common/. ./common/
COPY src/tests/ofc22/tests/. ./tests/ofc22/tests/
COPY src/__init__.py ./__init__.py
COPY src/tests/__init__.py ./tests/__init__.py
COPY src/tests/ofc22/__init__.py ./tests/ofc22/__init__.py
COPY src/tests/ofc22/descriptors_emulated.json ./tests/ofc22/descriptors_emulated.json

RUN tee ./run_tests.sh <<EOF
#!/bin/bash