tyler36 / ddev-cypress

Cypress E2E testing for use with DDEV
Apache License 2.0
11 stars 7 forks source link

🛠️ fix github action tests #2

Closed tyler36 closed 2 years ago

tyler36 commented 2 years ago

Automated tests are currently failing;

Issues

Github Actions

https://github.com/tyler36/ddev-cypress/actions

local

❯ bats ./tests 
   install from release                                                                                                                                           2/2
   bats warning: Executed 0 instead of expected 2 tests

2 tests, 0 failures, 2 not run
$ brew install bats-support bats-assert bats-file
...
==> Installing bats-support from bats-core/bats-core
Error: The following formula cannot be installed from bottle and must be
built from source.
  bats-support
Install Clang or run `brew install gcc`.

$ brew install gcc
...
Warning: gcc 11.2.0_3 is already installed and up-to-date.
To reinstall 11.2.0_3, run:
  brew reinstall gcc

Goal

Tests should

rfay commented 2 years ago

Try installing bats with the make install technique.

rfay commented 2 years ago

Sorry, looks like it's sudo ./install.sh /usr/local these days. Just check out https://github.com/bats-core/bats-core and run that.

tyler36 commented 2 years ago

Got Bats support tools installed in WSL with after running the following:

sudo apt-get update
sudo apt-get install build-essential