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

Include bats-assert and bats-support #67

Open
iainelder opened this issue Jan 5, 2021 · 4 comments
Open

Include bats-assert and bats-support #67

iainelder opened this issue Jan 5, 2021 · 4 comments

Comments

@iainelder
Copy link

iainelder commented Jan 5, 2021

It would be great to have these bats libraries installed by this action to make it easier to write tests with rich assertions.

Currently I am running these bash commands in a subsequent step to install the libraries relative to my bats file, as shown in the installation documentation.

apt-get install --assume-yes wget unzip

wget https://github.com/bats-core/bats-assert/archive/master.zip -O assert.zip
unzip assert.zip
mv bats-assert-master/ bats-assert/

wget https://github.com/bats-core/bats-support/archive/master.zip -O support.zip
unzip support.zip
mv bats-support-master/ bats-support/
@brokenpip3
Copy link

I made this action to setup all the bats libs: https://github.com/marketplace/actions/setup-bats-libs

@iainelder
Copy link
Author

Thanks @brokenpip3 . Does it resolve this issue? I'm not sure what to do with the issue now.

I'm not in a position to test your new action. I don't know when I'll use bats again.

@brokenpip3
Copy link

Should resolve the issue only if the setup-bats author does not have in mind to add the libs to this action.
I think is not interested but I can't speak for him.
@mig4 thoughts?

@simar7
Copy link

simar7 commented Jun 17, 2022

ping @mig4?

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

3 participants