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?

asked 5 years ago303 views
2 Answers
0
Accepted Answer

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

answered 5 years ago
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

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions