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

set test-targets for test-run based on env vars #1882

Closed
andreschab90 opened this issue Apr 29, 2021 · 2 comments · Fixed by #2131
Closed

set test-targets for test-run based on env vars #1882

andreschab90 opened this issue Apr 29, 2021 · 2 comments · Fixed by #2131
Assignees
Labels

Comments

@andreschab90
Copy link

I want to set the test-targets for my ios test-run based on env vars. That would allow me for example to run only the tests for features which got changed in a PR as a statuscheck

example config
...
test-targets:
- $TESTTARGETS
...

@zuziaka
Copy link
Contributor

zuziaka commented Jul 5, 2021

Let's discuss this issue on Thursday grooming session.

@jan-goral
Copy link
Contributor

Solution draft

Inside Args creating function, parse test-targers value from config.

  • If parsed value denotes env variable, load variable value and use it.
  • Otherwise use parsed value.

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

Successfully merging a pull request may close this issue.

4 participants