Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx tape-run fails in GitHub Actions workflow. #94

Open
aacic opened this issue Feb 6, 2025 · 4 comments
Open

npx tape-run fails in GitHub Actions workflow. #94

aacic opened this issue Feb 6, 2025 · 4 comments

Comments

@aacic
Copy link

aacic commented Feb 6, 2025

The command npx tape-run fails in GitHub Actions workflow in case ubuntu-latest is used. Currently, the default runner for ubuntu-latest is Ubuntu 24.04.1 LTS.

Error log:

npx tape-run --static ../public
npm error Lifecycle script `test:unit` failed with error:
npm error code 1
npm error path /home/runner/work/proteinpaint/proteinpaint/client
npm error workspace @sjcrh/[email protected]
npm error location /home/runner/work/proteinpaint/proteinpaint/client
npm error command failed
npm error command sh -c ./test.sh *.unit.spec.*
Error: Process completed with exit code 1.

The same workflow executes successfully on: ubuntu-22.04.

@fergiemcdowall
Copy link

Same here. Not sure why it has suddenly stopped working:

  • Fails also when I run locally with act
  • Fails when I downgrade to tape-run@10
  • Fails when I downgrade the runner image from runs-on: ubuntu-latest to runs-on: ubuntu-22.04

No drama- it just quietly exits with exitcode '1'.

I tried re-running a couple of my older passing builds in GitHub Actions and they also seem to have stopped working.

I suspect that there has been some general change to all of the Ubuntu images that breaks tape-run.

@fergiemcdowall
Copy link

fergiemcdowall commented Feb 7, 2025

Everything works fine on Actions with the macos-latest image and xvfb-run removed from the test command, so it definitely seems to be something to do with xvfb and/or the Linux images that is causing tape-run to error.

@fergiemcdowall
Copy link

fergiemcdowall commented Feb 7, 2025

browser-run is also throwing the same error as tape-run on the Linux images, so I suspect the fix lies somewhere in that direction.

@fergiemcdowall
Copy link

related?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants