Can't run angular tests within an Amplify Console Pipeline on amazonlinux:1

0

I cannot install google chrome headless (last version) on the amazonlinux:1. some suggestions on which modules I have to install in amplify.yml to succesfully run "ng test”? will the Amplify Console building machine AMI be updated to “linux 2” soon?

preguntada hace 5 años313 visualizaciones
2 Respuestas
0
Respuesta aceptada

We just upgraded our build image to amazonlinux:2 and also have cypress installed in the build image. Can you try running your tests?

respondido hace 5 años
0

thank you very much, the update to amazonlinux:2 solves my issue. I can now run angular tests installing chrome in pre-build step (curl https://intoli.com/install-google-chrome.sh | bash) with no issue.

Edited by: fabiovitali on Jul 8, 2019 6:07 AM

respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas