Skip to content

Commit

Permalink
fix: launch firefox with user 1001
Browse files Browse the repository at this point in the history
For some reason, cypress does not detect firefox, which
could be because you need to run as a non-root user, cfr:

cypress-io/github-action#104
  • Loading branch information
steabert committed Apr 11, 2021
1 parent 69adfe6 commit 2905774
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:

firefox:
runs-on: ubuntu-latest
container: cypress/browsers:node14.16.0-chrome89-ff86
container:
image: cypress/browsers:node14.16.0-chrome89-ff86
options: --user 1001
services:
gstreamer:
image: steabert/gst-rtsp-launch
Expand All @@ -76,7 +78,7 @@ jobs:
- name: Build
run: yarn build
- name: Test basic video functionality
run: sbin/test.sh firefox
run: sbin/test.sh /usr/bin/firefox

edge:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2905774

Please sign in to comment.