Skip to content

Commit

Permalink
Maybe we can just stack them? (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Dec 31, 2021
1 parent 2ff7534 commit 19d2501
Show file tree
Hide file tree
Showing 6 changed files with 236 additions and 189 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ steps:
- script: pip install -r dev-requirements.txt
displayName: 'Install dev dependencies'

- script: black --check cimetrics
displayName: 'Check code format'

- script: mypy -p cimetrics --ignore-missing-imports
displayName: 'Type checking'

Expand All @@ -55,6 +52,9 @@ steps:
AZURE_WEB_URL: $(AZURE_WEB_URL)
displayName: 'Post metrics graphs as PR comment'

- script: black --check cimetrics
displayName: 'Check code format'

- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: _cimetrics
Expand Down
4 changes: 4 additions & 0 deletions cimetrics/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ def pr_user(self) -> str:
def monitoring_columns(self) -> int:
return self.cfg.get("monitoring_columns", 2)

@property
def groups(self) -> dict:
return self.cfg.get("groups", {"Metrics": ".*"})


class GitEnv(Env):
_target_branch = None
Expand Down
Loading

0 comments on commit 19d2501

Please sign in to comment.