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?

posta 5 anni fa313 visualizzazioni
2 Risposte
0
Risposta accettata

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

con risposta 5 anni fa
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

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande