do not test on arm

This commit is contained in:
Thephaseless 2024-10-18 15:38:52 +00:00
parent c8f6e80928
commit eb5680379f
2 changed files with 4 additions and 1 deletions

View File

@ -56,5 +56,5 @@ COPY fix_nodriver.py ./
RUN . /app/.venv/bin/activate && python fix_nodriver.py
COPY . .
RUN chmod +x entrypoint.sh
RUN ./entrypoint.sh &&. /app/.venv/bin/activate && poetry run pytest
RUN ./pytest.sh
CMD ["./entrypoint.sh", "&&", ".", "/app/.venv/bin/activate", "&&", "python", "main.py"]

3
pytest.sh Executable file
View File

@ -0,0 +1,3 @@
if [ "$(uname -m)" == "x86_64" ]; then
./entrypoint.sh &&. /app/.venv/bin/activate && poetry run pytest
fi