Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

feat: add environment checks to skipOn #99

Merged
merged 3 commits into from
Jan 13, 2021
Merged

feat: add environment checks to skipOn #99

merged 3 commits into from
Jan 13, 2021

Conversation

rafael-anachoreta
Copy link
Contributor

Related issue: #41

What changed?

Added a new condition to check if the ENVIRONMENT variable is set, then either skips or runs the conditions based on whether it matches the expected values.

How was it tested?

Added some more tests to the spec following the previous logic.

@CLAassistant
Copy link

CLAassistant commented Sep 23, 2020

CLA assistant check
All committers have signed the CLA.

@rafael-anachoreta rafael-anachoreta changed the title Ddd environment checks to skipOn Add environment checks to skipOn Sep 23, 2020
index.js Outdated Show resolved Hide resolved
@bahmutov bahmutov changed the base branch from master to env-name January 13, 2021 14:09
@bahmutov
Copy link
Contributor

Let me merge this, update README and probably test it a little more before releasing.

@bahmutov bahmutov changed the title Add environment checks to skipOn feat: add environment checks to skipOn Jan 13, 2021
@bahmutov bahmutov merged commit bac20b5 into cypress-io:env-name Jan 13, 2021
bahmutov added a commit that referenced this pull request Jan 13, 2021
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
Co-authored-by: Rafael Anachoreta <rafael.anachoreta@gmail.com>
@rafael-anachoreta rafael-anachoreta deleted the iss-41-cb-environment branch January 13, 2021 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants