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?

已提問 5 年前檢視次數 313 次
2 個答案
0
已接受的答案

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

已回答 5 年前
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

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南