Giter VIP home page Giter VIP logo

Comments (10)

nathany avatar nathany commented on July 17, 2024

I saw that it's possible to pull in an arbitrary docker container, but I'm not sure how that interacts with setup-node. Also, I'd like to be able to run this on macOS/Windows, and I thought I read that Docker is only supported on Linux for GitHub Actions?

from runner-images.

nathany avatar nathany commented on July 17, 2024

According to this page all the virtual machines include Chrome, so I wonder what I'm doing wrong.

from runner-images.

nathany avatar nathany commented on July 17, 2024

This is probably an Electron issue. I thought this bugfix would resolve it, but I updated everything to latest and still have the issue. I'm opening a thread on the Atom forums (Electron category) to see if anyone else has tested Electron via GitHub Actions.

from runner-images.

damccorm avatar damccorm commented on July 17, 2024

Sorry for the slow response, missed this initially. Yeah, Chrome should be available on the images, I'm not 100% sure what's going on here though, I'm not particularly knowledgeable about Electron - hopefully, the folks on the Atom forum will have some ideas, if not let me know and we can try to dig in a little bit.

from runner-images.

nathany avatar nathany commented on July 17, 2024

Thanks Danny. The problem is I haven't come across any examples of others using GitHub Actions for Electron or even browser integration tests with non-Electron apps and ChromeDriver. The suite passes locally and on CircleCI (with circleci/node:jessie-browsers) but fails when running with GitHub Actions. Very bizarre.

I also gave container: circleci/node:jessie-browsers a try with GitHub Actions but then setup-node is no longer used and immediately ran into some permissions errors. Hmm. 🤔

from runner-images.

bryanmacfarlane avatar bryanmacfarlane commented on July 17, 2024

moving to the virtual-environment repo since this appears to be an issue with the chrome driver on the image.

from runner-images.

kaylangan avatar kaylangan commented on July 17, 2024

Related to #9

@nathany which OS/virtual environment are you using? Are you seeing failures on all of them?

from runner-images.

nathany avatar nathany commented on July 17, 2024

@kaylangan Sorry for the delay. If I recall, the failures were on Linux. Though I was hoping to be able to run the tests on all 3 environments.

TBH, I was pulled off that project, so this may not be a high priority for me.

from runner-images.

mhanberg avatar mhanberg commented on July 17, 2024

@nathany Possible clarification. The Ubuntu environments have Chrome installed on them, but not ChromeDriver, which is a separate utility.

It would be nice if ChromeDriver, GeckoDriver, etc were included in these images, but for I have found success using this action to install ChromeDriver, https://github.com/nanasess/setup-chromedriver

from runner-images.

kaylangan avatar kaylangan commented on July 17, 2024

The Ubuntu environments have Chrome installed on them, but not ChromeDriver, which is a separate utility.

Yup, closing this in favor of #9 (for Ubuntu).

We also have #7 (for macOS).

from runner-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.