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?

gefragt vor 5 Jahren313 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 5 Jahren
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

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen