GabrielBB / xvfb-action

Run your tests headlessly ❌🖥️
https://github.com/marketplace/actions/gabrielbb-xvfb-action
MIT License
140 stars 20 forks source link

Unable to locate package xvfb #29

Open GeorgeXCV opened 2 years ago

GeorgeXCV commented 2 years ago
 [command]/usr/bin/sudo apt-get install -y xvfb
| Reading package lists...
| Building dependency tree...
| Reading state information...
| E: Unable to locate package xvfb
[Daily Regression Tests/cypress-run]   ❗  ::error::The process '/usr/bin/sudo' failed with exit code 100
[Daily Regression Tests/cypress-run]   ❌  Failure - Main GabrielBB/xvfb-action@v1
name: Daily Regression Tests

on: [push]
  # schedule:
  #   #https://crontab.guru/#0_0_*_*_*
  #   - cron: "0 0 * * *"

jobs:
  cypress-run:
    runs-on: ubuntu-latest
    steps:
    # Install NPM dependencies, cache them correctly
    - uses: actions/checkout@v3
    - uses: actions/setup-node@v3
      with:
        node-version: '18.7.0'
        cache: 'npm'
    - run: npm install
    # Run all Cypress tests
    - uses: GabrielBB/xvfb-action@v1
    - run: npm start -- --record --browser chrome
      env:
          # and pass the Dashboard record key as an environment variable
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
LeKristapino commented 1 year ago

maybe something similair https://github.com/GabrielBB/xvfb-action/issues/24