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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CI env variables #65

Open
2 tasks done
Uzlopak opened this issue Aug 15, 2022 · 2 comments
Open
2 tasks done

Set CI env variables #65

Uzlopak opened this issue Aug 15, 2022 · 2 comments

Comments

@Uzlopak
Copy link
Contributor

Uzlopak commented Aug 15, 2022

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

馃殌 Feature Proposal

Set Env variables liks CI, CI_REDIS, CI_MONGO etc. to make it possigle to detect runs in CI by the tests.

Motivation

I would lke to run fastify-session plugin one time with in in memory store and once with redis.

Example

No response

@Eomm
Copy link
Member

Eomm commented Aug 16, 2022

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Aug 16, 2022

THe thing is: If I have the information, that I am in environment CI_REDIS, I can run unit tests, which need a redis server. Like fastify/session with redis session store.

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