Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Conversation

@awilkes
Copy link
Contributor

@awilkes awilkes commented Apr 5, 2023

Record-only enables most features. We don't want users to subset by default. They will enable it later.

awilkes@MacBook-Pro-2 pytest-launchable % python3 -m launchable_config --create                                        
Launchable configuration file is written to /Users/awilkes/code/launchable/pytest-launchable/.launchable.d/config.yml
awilkes@MacBook-Pro-2 pytest-launchable % cat /Users/awilkes/code/launchable/pytest-launchable/.launchable.d/config.yml
# Launchable test session configuration file
# See https://docs.launchableinc.com/resources/cli-reference for detailed usage of these options
#  
schema-version: 1.0
build-name: commit_hash
record-build:
  # Put your git repository location here
  source: .
  max_days: 30
record-session:
subset:
  # mode is subset, subset-and-rest, or record-only
  mode: record-only
  # if mode is subset or subset-and-rest, you must specify one of target/confidence/time
  # examples:
  #   target: 30%  # Create a variable time-based subset of the given percentage. (0%-100%)
  #   confidence: 30%  # Create a confidence-based subset of the given percentage. (0%-100%)
  #   time: 30m  # Create a fixed time-based subset. Select the best set of tests that run within the given time bound. (e.g. 10m for 10 minutes, 2h30m for 2.5 hours, 1w3d for 7+3=10 days. )
record-tests:
  # The test results are placed here in JUnit XML format
  result_dir: launchable-test-result

Record-only enables most features. We don't want users to subset by default. They will enable it later.
@awilkes awilkes force-pushed the aw/update-default-config branch from a53b5b3 to 9c63c24 Compare April 5, 2023 18:20
@awilkes
Copy link
Contributor Author

awilkes commented Apr 5, 2023

I don't know why the lint fails for 3.7.

@shibuiwilliam shibuiwilliam changed the base branch from main to aw/update-default-configaw/update-default-config April 5, 2023 22:18
Copy link
Contributor

@shibuiwilliam shibuiwilliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge to a branch in launchableinc.

@shibuiwilliam shibuiwilliam merged commit c545c04 into launchableinc:aw/update-default-configaw/update-default-config Apr 5, 2023
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.

2 participants